From 435fe1c348fac415c8d1e79195d54c69793b34b2 Mon Sep 17 00:00:00 2001
From: “wangming” <“wangming@antissoft.com”>
Date: Tue, 30 Dec 2025 10:07:39 +0800
Subject: [PATCH] refactor: improve code readability in storeDashboard component
---
antis-ncc-admin/src/views/extend/storeDashboard/index.vue | 27 ++++++++++++++++++---------
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/antis-ncc-admin/src/views/extend/storeDashboard/index.vue b/antis-ncc-admin/src/views/extend/storeDashboard/index.vue
index 92622b6..46c85fb 100644
--- a/antis-ncc-admin/src/views/extend/storeDashboard/index.vue
+++ b/antis-ncc-admin/src/views/extend/storeDashboard/index.vue
@@ -182,7 +182,8 @@
-
+
{{ scope.$index + 1 }}
{{ scope.$index + 1 }}
@@ -191,13 +192,15 @@
- ¥{{ formatMoney(scope.row.billingAmount) }}
+ ¥{{
+ formatMoney(scope.row.billingAmount) }}
- {{ scope.row.category }}
+ {{
+ scope.row.category }}
@@ -217,13 +220,16 @@
- ¥{{ formatMoney(scope.row.billingPerformance) }}
+ ¥{{ formatMoney(scope.row.billingPerformance)
+ }}
- ¥{{ formatMoney(scope.row.consumePerformance) }}
+ ¥{{ formatMoney(scope.row.consumePerformance)
+ }}
- ¥{{ formatMoney(scope.row.totalPerformance) }}
+ ¥{{ formatMoney(scope.row.totalPerformance)
+ }}
@@ -239,7 +245,8 @@
- ¥{{ formatMoney(scope.row.consumeAmount) }}
+ ¥{{
+ formatMoney(scope.row.consumeAmount) }}
@@ -340,7 +347,8 @@
{{ comparison.performanceRanking }}
/ {{ comparison.totalStoreCount }}
-
+
{{ getRankingText(comparison.performanceRanking, comparison.totalStoreCount) }}
@@ -410,7 +418,8 @@
{{ metric.label }}
{{ metric.value }}%
-
+
--
libgit2 0.21.4