diff --git a/src/views/sylive/groups-statistics/components/biz-table.vue b/src/views/sylive/groups-statistics/components/biz-table.vue index d82d475..e7ca910 100644 --- a/src/views/sylive/groups-statistics/components/biz-table.vue +++ b/src/views/sylive/groups-statistics/components/biz-table.vue @@ -266,8 +266,8 @@ } this.activityId = activityId; setTimeout(() => { - if (!this.itemId && this.data.goods[1]) { - this.itemId = this.data.goods[1]['value']; + if (!this.itemId && this.data.goods[0]) { + this.itemId = this.data.goods[0]['value']; } if (this.$refs.table) { this.$refs.table.reload({ page: 1 }); diff --git a/src/views/sylive/groups-statistics/components/consultant-table.vue b/src/views/sylive/groups-statistics/components/consultant-table.vue index 055471b..cd96ae7 100644 --- a/src/views/sylive/groups-statistics/components/consultant-table.vue +++ b/src/views/sylive/groups-statistics/components/consultant-table.vue @@ -228,8 +228,8 @@ } this.activityId = activityId; setTimeout(() => { - if (!this.itemId && this.data.goods[1]) { - this.itemId = this.data.goods[1]['value']; + if (!this.itemId && this.data.goods[0]) { + this.itemId = this.data.goods[0]['value']; } if (this.$refs.table) { this.$refs.table.reload({ page: 1 }); diff --git a/src/views/sylive/groups-statistics/components/customer-table.vue b/src/views/sylive/groups-statistics/components/customer-table.vue index 585feb1..28f7765 100644 --- a/src/views/sylive/groups-statistics/components/customer-table.vue +++ b/src/views/sylive/groups-statistics/components/customer-table.vue @@ -288,8 +288,8 @@ } this.activityId = activityId; setTimeout(() => { - if (!this.itemId && this.data.goods[1]) { - this.itemId = this.data.goods[1]['value']; + if (!this.itemId && this.data.goods[0]) { + this.itemId = this.data.goods[0]['value']; } if (this.$refs.table) { this.$refs.table.reload({ page: 1 }); diff --git a/src/views/sylive/groups-statistics/components/level-table.vue b/src/views/sylive/groups-statistics/components/level-table.vue index 9f2da4d..36efb70 100644 --- a/src/views/sylive/groups-statistics/components/level-table.vue +++ b/src/views/sylive/groups-statistics/components/level-table.vue @@ -299,8 +299,8 @@ return; } this.activityId = activityId; - if (!this.itemId && this.data.goods[1]) { - this.itemId = this.data.goods[1]['value']; + if (!this.itemId && this.data.goods[0]) { + this.itemId = this.data.goods[0]['value']; } this.getStatisticsStackedArea(); if (this.$refs.table) { diff --git a/src/views/sylive/groups-statistics/index.vue b/src/views/sylive/groups-statistics/index.vue index 2f53eef..07a237a 100644 --- a/src/views/sylive/groups-statistics/index.vue +++ b/src/views/sylive/groups-statistics/index.vue @@ -214,9 +214,9 @@ this.$util.assignObject(this.statistics, { ...data }); - if (data.tableData.goods[1]) { - this.itemIdPreheating = data.tableData.goods[1]['value']; - this.itemIdLive = data.tableData.goods[1]['value']; + if (data.tableData.goods[0]) { + this.itemIdPreheating = data.tableData.goods[0]['value']; + this.itemIdLive = data.tableData.goods[0]['value']; } this.queryFunnel(); // 修改页签标题