Browse Source

fix: 工作台昨日充值人数

zhangrenyuan/feature-20250714163943-金币前端二期
lihui 3 weeks ago
parent
commit
012efdecaf
  1. 7
      src/views/workspace/index.vue

7
src/views/workspace/index.vue

@ -123,7 +123,7 @@
</template>
</el-col>
<template #footer>
<el-col class="margin-bottom center-card">昨日充值人数{{ rechargeNum }}</el-col>
<el-col class="margin-bottom center-card">昨日充值人数{{ ydayRechargeNum }}</el-col>
<el-col class="margin-bottom center-card">其中首充{{ firstRecharge }}</el-col>
</template>
</el-card>
@ -249,6 +249,7 @@ const yearlyRechargeNum = ref(0)
const sumWow = ref(0)
const sumDaily = ref(0)
const rechargeNum = ref(0)
const ydayRechargeNum = ref(0)
const firstRecharge = ref(0)
const length = ref(0)
//
@ -364,6 +365,7 @@ const processData = (data) => {
yearlyRefund: 0,
yearlyReduce: 0,
rechargeNum: 0,
ydayRechargeNum: 0,
firstRecharge: 0,
sumWow: 0,
sumDaily: 0,
@ -415,7 +417,8 @@ const processData = (data) => {
// //
// sumDaily.value = (marketCards.sumDaily / length.value).toFixed(2)
rechargeNum.value = summary.rechargeNum
// rechargeNum.value = summary.rechargeNum
ydayRechargeNum.value = summary.ydayRechargeNum
firstRecharge.value = summary.firstRecharge
}

Loading…
Cancel
Save