From d2edd0ae8fb8b6eb5edc1afef838cd2a1e527301 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Thu, 09 Feb 2023 15:05:27 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/srs-police-affairs
---
src/views/home/components/leftContainer.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/home/components/leftContainer.vue b/src/views/home/components/leftContainer.vue
index 1658d13..1bf7451 100644
--- a/src/views/home/components/leftContainer.vue
+++ b/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>
--
Gitblit v1.9.3