From d8cecb1b548807d7651c4628172282ec22f29fd8 Mon Sep 17 00:00:00 2001 From: dengbw Date: Tue, 21 Mar 2023 16:37:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=9F=E8=AE=A1=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=95=86=E5=93=812?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sylive/groups-statistics/components/biz-table.vue | 4 ++-- .../groups-statistics/components/consultant-table.vue | 4 ++-- .../sylive/groups-statistics/components/customer-table.vue | 4 ++-- .../sylive/groups-statistics/components/level-table.vue | 4 ++-- src/views/sylive/groups-statistics/index.vue | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) 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(); // 修改页签标题