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 @@