From d4e5d9be060ee0c47ba5037232cd8d4b3bfaa075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Wed, 2 Oct 2024 15:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/dashboard.js | 9 ++++++ src/views/dashboard/DailyBillReport.vue | 2 +- .../smUser/components/userRechargeReport.vue | 28 +++++++++---------- src/views/system/smUser/index.vue | 8 +++--- 4 files changed, 28 insertions(+), 19 deletions(-) diff --git a/src/api/system/dashboard.js b/src/api/system/dashboard.js index ea16bec..30bfd07 100644 --- a/src/api/system/dashboard.js +++ b/src/api/system/dashboard.js @@ -45,4 +45,13 @@ export function getServiceIncome(params) { }) } +// 根据月份获取分成金额 +export function getBonusMonthAmount(params) { + return request({ + url: '/system/dashboard/bonusMonthAmount', + method: 'get', + params + }) +} + diff --git a/src/views/dashboard/DailyBillReport.vue b/src/views/dashboard/DailyBillReport.vue index 923d91f..eef1c07 100644 --- a/src/views/dashboard/DailyBillReport.vue +++ b/src/views/dashboard/DailyBillReport.vue @@ -122,7 +122,7 @@ export default { series: [{ name: '充值(元)', type: 'line', - data: this.getHourData(this.billData, 'recharge'), + data: this.getHourData(this.billData, 'rechargeAmount'), itemStyle: { normal: { color: '#246EFF', diff --git a/src/views/system/smUser/components/userRechargeReport.vue b/src/views/system/smUser/components/userRechargeReport.vue index 6948c16..fd3e4b0 100644 --- a/src/views/system/smUser/components/userRechargeReport.vue +++ b/src/views/system/smUser/components/userRechargeReport.vue @@ -1,9 +1,9 @@