guanqb
2022-10-18 8c043a47bcbe0c3cd211e518d107ae3971388ca3
点击全部逻辑完善
1 files modified
6 ■■■■ changed files
src/views/home/index.vue 6 ●●●● patch | view | raw | blame | history
src/views/home/index.vue
@@ -321,7 +321,6 @@
        this.areaOptionData = areaOptionData
        this.policeStationOptions = policeStationOptions
        this.housingDate = housingDate
        console.log(housingDate, '111222333')
    },
    mounted () {
        this.initEquipmentEcharts()
@@ -343,7 +342,6 @@
    },
    methods: {
        policeStationSelect (item) {
            // console.log(item)
            this.policeStationCheckValue = item.policeStationName
            if (item.policeStationName == "全部") {
                this.clearPolygonLayer()
@@ -356,7 +354,7 @@
                    sitePitch: -45
                })
                this.areaOptions = []
                this.JurisdictionData = []
                this.housingOptions = []
                this.areaCheckValue = '请选择责任区'
                this.housingCheckValue = '请选择小区'
            } else {
@@ -369,6 +367,8 @@
            this.areaCheckValue = item.areaCheckName
            if (item.areaCheckName == "全部") {
                this.initAreaOptionLayer(this.policeStaionChecked)
                this.housingOptions = []
                this.housingCheckValue = '请选择小区'
            } else {
                this.areaChecked = item
                this.initHousingLayer(item)