统计
This commit is contained in:
@@ -78,7 +78,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getStatistics() {
|
||||
if(this.flag) return
|
||||
this.todayList = [], this.finishData = [], this.trendDataX = [], this.trendData = [], this.typeData = [], this.showFinish = false
|
||||
this.$http.post(`/app/apppatrolreportinfo/countByGirdId?girdId=${this.selectGird.id}&eventStatus=${this.statusInfo.eventStatus}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
@@ -132,7 +131,6 @@ export default {
|
||||
this.typeChartInit()
|
||||
}
|
||||
})
|
||||
this.flag = false
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -302,7 +300,6 @@ export default {
|
||||
},
|
||||
handleSelectGird(v) {
|
||||
console.log(11)
|
||||
this.flag = true
|
||||
this.selectGird = v || {}
|
||||
this.getStatistics()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user