From 6380bb1079cfeab8c0b7d0c378b8ce8392cd3b2e 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, 11 Sep 2024 21:23:07 +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/views/dashboard/DailyBillReport.vue | 8 ++------ src/views/dashboard/DailyProfitReport.vue | 12 +++--------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/views/dashboard/DailyBillReport.vue b/src/views/dashboard/DailyBillReport.vue index 8ce7dfc..810b603 100644 --- a/src/views/dashboard/DailyBillReport.vue +++ b/src/views/dashboard/DailyBillReport.vue @@ -120,9 +120,7 @@ export default { }], series: [{ name: '充值(元)', - type: 'bar', - stack: 'vistors', - barWidth: '30%', + type: 'line', data: this.getHourData(this.billData, 'recharge'), animationDuration, itemStyle: { @@ -132,9 +130,7 @@ export default { }, }, { name: '提现(元)', - type: 'bar', - stack: 'vistors', - barWidth: '30%', + type: 'line', data: this.getHourData(this.billData, 'withdraw'), animationDuration, itemStyle: { diff --git a/src/views/dashboard/DailyProfitReport.vue b/src/views/dashboard/DailyProfitReport.vue index f573abf..687d9c9 100644 --- a/src/views/dashboard/DailyProfitReport.vue +++ b/src/views/dashboard/DailyProfitReport.vue @@ -113,9 +113,7 @@ export default { }, series: [{ name: '月费收入(元)', - type: 'bar', - stack: 'vistors', - barWidth: '50%', + type: 'line', data: this.getChartData(this.billData, 'monthAmount'), itemStyle: { normal: { @@ -124,9 +122,7 @@ export default { }, }, { name: '服务费收入(元)', - type: 'bar', - stack: 'vistors', - barWidth: '50%', + type: 'line', data: this.getChartData(this.billData, 'serviceAmount'), itemStyle: { normal: { @@ -135,9 +131,7 @@ export default { }, },{ name: '渠道成本(元)', - type: 'bar', - barWidth: '50%', - stack: 'vistors', + type: 'line', data: this.getChartData(this.billData, 'channelCost'), itemStyle: { normal: {