This commit is contained in:
yanran200730
2022-10-14 09:25:04 +08:00
parent 2ac19ef81f
commit e02fcd6a08
4 changed files with 11 additions and 8 deletions

View File

@@ -79,7 +79,7 @@
<ai-empty v-if="false" style="height: 148px;"></ai-empty>
</template>
</ai-card>
<ai-card title="返乡数据统计">
<ai-card title="返乡数据统计" v-if="false">
<template #right>
</template>
<template #content>
@@ -137,7 +137,7 @@
this.loading = true
this.$nextTick(() => {
this.chart1 = echarts.init(document.querySelector('.chart1'))
this.chart2 = echarts.init(document.querySelector('.chart2'))
// this.chart2 = echarts.init(document.querySelector('.chart2'))
window.addEventListener('resize', this.onResize)
this.getInfo()
})
@@ -210,7 +210,7 @@
this.instance.post(`/app/appepidemicpreventioncommunitymanagement/statistics?areaId=${this.areaId}&beginTime=${this.beginTime || ''}&endTime=${this.endTime || ''}`).then(res => {
if (res.code == 0) {
this.initChart1(res.data.trend)
this.initChart2(res.data.sourceMap)
// this.initChart2(res.data.sourceMap)
this.info = res.data.numberMap
this.loading = false
} else {