新增字段
This commit is contained in:
@@ -360,7 +360,7 @@ export default {
|
||||
{ field: 'chargeMoney', title: '充值金额(美元)', align: 'center', width: '5%', },
|
||||
{ field: 'sendGiftMony', title: '送礼钻石数', align: 'center', width: '5%', },
|
||||
{ field: 'giveCount', title: '累计收到转赠次数', align: 'center', width: '5%', },
|
||||
{ field: 'totalGive', title: '累计收到转赠金额', align: 'center', width: '5%', },
|
||||
{ field: 'giveMoney', title: '累计收到转赠金额', align: 'center', width: '5%', },
|
||||
{ field: 'arpu', title: 'Arpu', align: 'center', width: '5%', },
|
||||
{ field: 'twoRemainCount', title: '次留', align: 'center', width: '5%', },
|
||||
{ field: 'sevenRemainCount', title: '七留', align: 'center', width: '5%', },
|
||||
@@ -455,6 +455,8 @@ export default {
|
||||
let tchargeCount = 0;
|
||||
let tchargeMoney = 0;
|
||||
let tsendGiftMony = 0;
|
||||
let tgiveCount = 0;
|
||||
let tgiveMoney = 0;
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
const team = data[i]
|
||||
tmemberCount += team.memberCount;
|
||||
@@ -463,6 +465,8 @@ export default {
|
||||
tchargeCount += team.chargeCount;
|
||||
tchargeMoney += team.chargeMoney;
|
||||
tsendGiftMony += team.sendGiftMony;
|
||||
tgiveCount += team.giveCount;
|
||||
tgiveMoney += team.giveMoney;
|
||||
}
|
||||
groupData.groupId = $('#query-groupSelector').val();
|
||||
groupData.tmemberCount = tmemberCount;
|
||||
@@ -472,6 +476,8 @@ export default {
|
||||
groupData.tchargeCount = tchargeCount;
|
||||
groupData.tchargeMoney = tchargeMoney;
|
||||
groupData.tsendGiftMony = tsendGiftMony;
|
||||
groupData.tgiveCount = tgiveCount;
|
||||
groupData.tgiveMoney = tgiveMoney;
|
||||
groupData.tarpu = (tchargeMoney / tnewUserCount).toFixed(2);
|
||||
groupDataList.push(groupData);
|
||||
}
|
||||
@@ -502,6 +508,8 @@ export default {
|
||||
{ field: 'tchargeCount', title: '充值次数', align: 'center', width: '5%', },
|
||||
{ field: 'tchargeMoney', title: '充值金额(美元)', align: 'center', width: '5%', },
|
||||
{ field: 'tsendGiftMony', title: '送礼钻石数', align: 'center', width: '5%', },
|
||||
{ field: 'tgiveCount', title: '累计收到转赠次数', align: 'center', width: '5%', },
|
||||
{ field: 'tgiveMoney', title: '累计收到转赠金额', align: 'center', width: '5%', },
|
||||
{ field: 'tarpu', title: 'Arpu', align: 'center', width: '5%', },
|
||||
],
|
||||
// height: 100,
|
||||
|
Reference in New Issue
Block a user