加复制活动
This commit is contained in:
@@ -88,8 +88,8 @@
|
||||
<el-dropdown-item command="activity">修改活动</el-dropdown-item>
|
||||
<el-dropdown-item command="goods">修改商品</el-dropdown-item>
|
||||
<el-dropdown-item command="groups">修改分组</el-dropdown-item>
|
||||
<!--
|
||||
<el-dropdown-item command="copy">复制活动</el-dropdown-item>
|
||||
<!--
|
||||
<el-dropdown-item command="item">修改权益商品</el-dropdown-item>
|
||||
<el-dropdown-item command="coupon">修改券</el-dropdown-item>
|
||||
-->
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user