新增累计转赠金额2
This commit is contained in:
@@ -255,7 +255,7 @@
|
||||
{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: 'teamId',
|
||||
@@ -344,6 +344,8 @@
|
||||
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;
|
||||
@@ -352,6 +354,8 @@
|
||||
tchargeCount += team.chargeCount;
|
||||
tchargeMoney += team.chargeMoney;
|
||||
tsendGiftMony += team.sendGiftMony;
|
||||
tgiveCount += team.giveCount;
|
||||
tgiveMoney += team.giveMoney;
|
||||
}
|
||||
groupData.groupId = $('#query-groupSelector').val();
|
||||
groupData.tmemberCount = tmemberCount;
|
||||
@@ -368,6 +372,8 @@
|
||||
groupData.tchargeCount = tchargeCount;
|
||||
groupData.tchargeMoney = tchargeMoney;
|
||||
groupData.tsendGiftMony = tsendGiftMony;
|
||||
groupData.tgiveCount = tgiveCount;
|
||||
groupData.tgiveMoney = tgiveMoney;
|
||||
groupDataList.push(groupData);
|
||||
}
|
||||
|
||||
@@ -395,6 +401,8 @@
|
||||
{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