From a028c90cf2f4249ea7ba9a1a896058f89e224577 Mon Sep 17 00:00:00 2001 From: woody Date: Tue, 13 May 2025 10:31:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(dashboard):=20=E7=9C=8B=E6=9D=BF=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B1=95=E7=A4=BA=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 2 +- src/views/dashboard/dashboard.vue | 36 +++++++++++++++---------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 3fee89a..c6a2615 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -47,7 +47,7 @@ export const constantRoutes = [ { path: '/', component: Layout, - redirect: '/dashboard', + redirect: '/summaryDashboard', name: 'index', // alwaysShow: true, meta: { title: '首页', icon: 'firstPage', icon1: 'firstPageSel' }, diff --git a/src/views/dashboard/dashboard.vue b/src/views/dashboard/dashboard.vue index 60dbce6..46e3b3d 100644 --- a/src/views/dashboard/dashboard.vue +++ b/src/views/dashboard/dashboard.vue @@ -34,22 +34,22 @@
今日业绩
-
-
首购业绩
-
{{ dailyPerformance.today && dailyPerformance.today.firstAchieve || '0.00' }}
-
首购金额
{{ dailyPerformance.today && dailyPerformance.today.firstAmount || '0.00' }}
-
复购业绩
-
{{ dailyPerformance.today && dailyPerformance.today.repAchieve || '0.00' }}
+
首购业绩
+
{{ dailyPerformance.today && dailyPerformance.today.firstAchieve || '0.00' }}
复购金额
{{ dailyPerformance.today && dailyPerformance.today.repAmount || '0.00' }}
+
+
复购业绩
+
{{ dailyPerformance.today && dailyPerformance.today.repAchieve || '0.00' }}
+
总金额
@@ -65,22 +65,22 @@
昨日业绩
-
-
首购业绩
-
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.firstAchieve || '0.00' }}
-
首购金额
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.firstAmount || '0.00' }}
-
复购业绩
-
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.repAchieve || '0.00' }}
+
首购业绩
+
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.firstAchieve || '0.00' }}
复购金额
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.repAmount || '0.00' }}
+
+
复购业绩
+
{{ dailyPerformance.yesterday && dailyPerformance.yesterday.repAchieve || '0.00' }}
+
总金额
@@ -96,22 +96,22 @@
本月业绩
-
-
首购业绩
-
{{ monthlyPerformance.firstAchieve || '0.00' }}
-
首购金额
{{ monthlyPerformance.firstAmount || '0.00' }}
-
复购业绩
-
{{ monthlyPerformance.repAchieve || '0.00' }}
+
首购业绩
+
{{ monthlyPerformance.firstAchieve || '0.00' }}
复购金额
{{ monthlyPerformance.repAmount || '0.00' }}
+
+
复购业绩
+
{{ monthlyPerformance.repAchieve || '0.00' }}
+
总金额