From ae1ca8085c08fbaf0c854affa522c6e4ffac4312 Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Mon, 4 Aug 2025 13:17:28 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/dashboard/components/PanelGroup.vue | 186 +++++++++++-------
src/views/dashboard/index.vue | 166 ++++++++++++++--
2 files changed, 265 insertions(+), 87 deletions(-)
diff --git a/src/views/dashboard/components/PanelGroup.vue b/src/views/dashboard/components/PanelGroup.vue
index 4fe4e3f..7d39cbb 100644
--- a/src/views/dashboard/components/PanelGroup.vue
+++ b/src/views/dashboard/components/PanelGroup.vue
@@ -10,8 +10,8 @@
总数
@@ -28,8 +28,8 @@
总数
-->
-
-
-
+
-->
+
+
+
+
+
+
@@ -101,11 +140,16 @@
totaldata: {
type: Object,
default: {
- // recordsTotal:0,
- // organizesTotal:0,
- // areasTotal:0,
- status1Total:0,
- dateTotal:0
+ // recordsTotal:0,
+ // organizesTotal:0,
+ // areasTotal:0,
+ status1Total: 0,
+ dateTotal: 0,
+ person: {
+ total: 0,
+ manage: 0,
+ serve: 0
+ }
}
}
},
@@ -115,15 +159,15 @@
methods: {
handleRoute(type) {
this.$emit('handleRoute', type)
- },
- toUrl(type){
- if(type==1 && this.totaldata.status1Total>0){
- this.$router.push('/record/index?status1Total=1')
- }
- if(type==2 && this.totaldata.dateTotal>0){
- this.$router.push('/record/index?dateTotal=1')
- }
-
+ },
+ toUrl(type) {
+ if (type == 1 && this.totaldata.status1Total > 0) {
+ this.$router.push('/record/index?status1Total=1')
+ }
+ if (type == 2 && this.totaldata.dateTotal > 0) {
+ this.$router.push('/record/index?dateTotal=1')
+ }
+
},
toCaculateper(f1, f2) {
return ((f1 / (f2 == 0 ? 1 : f2)) * 100).toFixed(2) + "%"
@@ -134,7 +178,7 @@