数据统计刷新2

This commit is contained in:
dengbw
2022-11-23 15:55:31 +08:00
parent 771e7cd190
commit 4ab58678e0
@@ -216,9 +216,6 @@
} //折线图
};
},
created() {
this.getStatisticsStackedArea();
},
methods: {
/* 表格数据源 */
datasource({ page, limit, order }) {
@@ -248,6 +245,7 @@
//区域统计折线图
getStatisticsStackedArea() {
this.areaChartOption = { legend: { data: [] } };
const activityId = this.$route.query.id;
let kpi = this.kpi;
getStatisticsStackedArea({
@@ -300,9 +298,9 @@
if (path !== '/sylive/activity/statistics') {
return;
}
this.getStatisticsStackedArea();
if (this.$refs.table) {
this.$refs.table.reload({ page: 1 });
this.getStatisticsStackedArea();
}
},
immediate: true