|
|
|
@ -130,6 +130,10 @@
|
|
|
|
|
{
|
|
|
|
|
title: '拉黑率(累计)',
|
|
|
|
|
key: 'delRate'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '店均拓客数',
|
|
|
|
|
key: 'avgStoreCustomer'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
data1: [],
|
|
|
|
@ -254,9 +258,9 @@
|
|
|
|
|
let title = "零售公司推广情况" + that.selectDate[0] + '-' + that.selectDate[1];
|
|
|
|
|
require.ensure([], () => {
|
|
|
|
|
const {export_json_to_excel} = require('../../excel/Export2Excel');
|
|
|
|
|
const tHeader = ['序号', '零售公司名称', '总好友数', '总好友数(去重)', '新增好友数', '新增好友数(去重)', '日增好友平均', '日增好友平均(去重)', '删除/拉黑成员客户数(累计)', '拉黑率(累计)'];
|
|
|
|
|
const tHeader = ['序号', '零售公司名称', '总好友数', '总好友数(去重)', '新增好友数', '新增好友数(去重)', '日增好友平均', '日增好友平均(去重)', '删除/拉黑成员客户数(累计)', '拉黑率(累计)', '店均拓客数'];
|
|
|
|
|
// 属性名
|
|
|
|
|
const filterVal = ['index', 'retailCompany', 'allCustomer', 'effectiveCustomer', 'newCustomer', 'newEffectiveCustomer', 'avgNewCustomer', 'avgNewEffectiveCustomer', 'delCustomer', 'delRate'];
|
|
|
|
|
const filterVal = ['index', 'retailCompany', 'allCustomer', 'effectiveCustomer', 'newCustomer', 'newEffectiveCustomer', 'avgNewCustomer', 'avgNewEffectiveCustomer', 'delCustomer', 'delRate', 'avgStoreCustomer'];
|
|
|
|
|
// 数据
|
|
|
|
|
//把data里的tableData存到list
|
|
|
|
|
const data = that.formatJson(filterVal, originAllData);
|
|
|
|
|