数据统计刷新2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user