清除多余代码

This commit is contained in:
yanran200730
2022-03-18 15:05:40 +08:00
parent e67e0fbb82
commit b9159b8e15
12 changed files with 143 additions and 150 deletions

View File

@@ -153,7 +153,6 @@
chart2: '',
currIndex: -1,
list: [],
areaList: [],
unitName: '',
areaId: ''
}
@@ -175,7 +174,6 @@
this.areaId = this.user.info.areaId
this.areaName = this.user.info.areaName
this.getTree()
this.getAreaList()
this.loading = true
this.$nextTick(() => {
this.chart1 = echarts.init(document.querySelector('.chart1'))
@@ -245,14 +243,6 @@
}
},
getAreaList() {
this.instance.post(`/admin/area/queryAreaByParentId?id=341021104000`).then(res => {
if (res.code == 0) {
this.areaList = res.data
}
})
},
getInfo () {
this.loading = true
this.instance.post(`/app/appvillageactivityinfo/statistic?areaId=${this.areaId}&time1=${this.time1 || ''}&time2=${this.time2 || '-'}`).then(res => {