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