guanqb
2023-02-09 d2edd0ae8fb8b6eb5edc1afef838cd2a1e527301
src/views/home/components/leftContainer.vue
@@ -297,6 +297,8 @@
            if (id != '') {
                this.showBack = false
                this.isAllPoliceStation = false
                this.tabTypeThree = 0
            } else {
                this.showBack = true
                this.isAllPoliceStation = true
@@ -815,6 +817,8 @@
            let personInfo = await this.getPersonInfo()
            keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo))
            this.clickkeyPersonChart()
        },
        /**
         * @description: 调用接口获取重点人员数据
@@ -870,7 +874,7 @@
                                msg = params.value + '人'
                            }
                            msg = `${params.marker} ${params.name}<strong style="margin-left:10px">${msg}</strong>'`
                            msg = `${params.marker} ${params.name}<strong style="margin-left:10px">${msg}</strong>`
                            return msg
                        }
                    },
@@ -1012,8 +1016,6 @@
         * @return {*}
         */
        clickLandChart () {
            landMyChart.off('click')
            landMyChart.on('click', params => {
                if (this.tabTypeThree == 0) {
                    this.$emit('showlanddetail', params.name, 2, params.data.id)
@@ -1079,6 +1081,11 @@
        this.disposeEchart()
        this.disposeHouseEchart()
        this.disposeLandEchart()
        if (leftTiming != null) {
            clearInterval(leftTiming)
            leftTiming = null
        }
    }
}
</script>