From bf486199088785fbf1ee2470736cecc914affa70 Mon Sep 17 00:00:00 2001 From: dengbw Date: Wed, 18 Jan 2023 14:33:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=A4=8D=E5=88=B6=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/sylive/activity/index.vue | 2 +- .../components/customer-table.vue | 58 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/views/sylive/activity/index.vue b/src/views/sylive/activity/index.vue index e7a9ef3..55a7719 100644 --- a/src/views/sylive/activity/index.vue +++ b/src/views/sylive/activity/index.vue @@ -88,8 +88,8 @@ 修改活动 修改商品 修改分组 - diff --git a/src/views/sylive/groups-statistics/components/customer-table.vue b/src/views/sylive/groups-statistics/components/customer-table.vue index 79f73a2..ce0dee7 100644 --- a/src/views/sylive/groups-statistics/components/customer-table.vue +++ b/src/views/sylive/groups-statistics/components/customer-table.vue @@ -96,6 +96,27 @@ itemId: '', // 表格列配置 columns: [ + { + prop: 'levelName1', + label: '战区', + align: 'center', + showOverflowTooltip: true, + minWidth: 80 + }, + { + prop: 'levelName2', + label: '战队', + align: 'center', + showOverflowTooltip: true, + minWidth: 80 + }, + { + prop: 'bizName', + label: '门店', + align: 'center', + showOverflowTooltip: true, + minWidth: 110 + }, { prop: 'nickname', label: '昵称', @@ -158,27 +179,6 @@ align: 'center', showOverflowTooltip: true, minWidth: 80 - }, - { - prop: 'levelName1', - label: '战区', - align: 'center', - showOverflowTooltip: true, - minWidth: 80 - }, - { - prop: 'levelName2', - label: '战队', - align: 'center', - showOverflowTooltip: true, - minWidth: 80 - }, - { - prop: 'bizName', - label: '门店', - align: 'center', - showOverflowTooltip: true, - minWidth: 110 } ] }; @@ -214,6 +214,9 @@ exportData() { const array = [ [ + '战区', + '战队', + '门店', '昵称', '创建时间', '首次浏览时间', @@ -222,10 +225,7 @@ '观看时长(分)', '观看次数', '内部人员', - '归属顾问', - '战区', - '战队', - '门店' + '归属顾问' ] ]; const loading = this.$loading({ lock: true }); @@ -240,6 +240,9 @@ loading.close(); data.forEach((d) => { array.push([ + d.levelName1, + d.levelName2, + d.bizName, d.nickname, d.createTime, d.browseTime, @@ -248,10 +251,7 @@ d.playDuration, d.livePV, d.insiders, - d.consultantName, - d.levelName1, - d.levelName2, - d.bizName + d.consultantName ]); }); writeFile(