From 701bcb772ac8f8698661268247beb9e54dd19277 Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Mon, 30 Oct 2023 12:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/flowteam/FlowTeamStatisticView.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/flowteam/FlowTeamStatisticView.vue b/src/views/flowteam/FlowTeamStatisticView.vue index cbdf1b4..48d2bf5 100644 --- a/src/views/flowteam/FlowTeamStatisticView.vue +++ b/src/views/flowteam/FlowTeamStatisticView.vue @@ -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,