| | |
| | | import { getVillagePersonStatisticInfo, getVillagePersonStatisticInfoByPoliceStationId, getPersonInfo, getPersonInfoPage, getHouseStatisticInfo } from "@/api/dept" |
| | | |
| | | let homePersonmyChart = null |
| | | let keyPersonmyChart = null |
| | | let houseMyChart |
| | | let landMyChart |
| | | let keyPersonmyChart |
| | | |
| | | let myColor = ['#00e9db', '#00c0e9', '#0096f3', '#33CCFF', '#33FFCC', '#eb2100', '#eb3600', '#d0570e', '#d0a00e', '#34da62'] |
| | | |
| | |
| | | this.tabType = type |
| | | this.dataDeep = 1 |
| | | |
| | | if (homePersonmyChart != null) { |
| | | if (homePersonmyChart != null && homePersonmyChart != '' && homePersonmyChart != undefined) { |
| | | homePersonmyChart.dispose() |
| | | homePersonmyChart.off('click') |
| | | } |
| | | |
| | | if (keyPersonmyChart != null && keyPersonmyChart != '' && keyPersonmyChart != undefined) { |
| | | keyPersonmyChart.dispose() |
| | | keyPersonmyChart.off('click') |
| | | } |
| | | |
| | | if (type == 0) { |
| | |
| | | landMyChart.off('click') |
| | | |
| | | landMyChart.on('click', params => { |
| | | console.log(params, 95959999) |
| | | if (this.tabTypeThree == 0) { |
| | | this.$emit('showlanddetail', params.name, 2, params.data.id) |
| | | } else { |