diff --git a/src/views/screen/components/RiskStatisticsPanel copy.vue b/src/views/screen/components/RiskStatisticsPanel copy.vue new file mode 100644 index 0000000..3479892 --- /dev/null +++ b/src/views/screen/components/RiskStatisticsPanel copy.vue @@ -0,0 +1,591 @@ + + + + + diff --git a/src/views/screen/components/RiskStatisticsPanel.vue b/src/views/screen/components/RiskStatisticsPanel.vue index 3479892..b68e09d 100644 --- a/src/views/screen/components/RiskStatisticsPanel.vue +++ b/src/views/screen/components/RiskStatisticsPanel.vue @@ -2,485 +2,130 @@
- 高危作业 + 安全类 | - 安全培训考试 - | - 应急预案及演练 + 工程类
- -
-
- {{ activeTab === '高危作业' ? '各园区统计' : activeTab === '安全培训考试' ? '安全培训考试' : '园区演练完成率' }} - + + +
+
+
{{ item.title }}
+
+
+ +
+
总数
+
{{ item.total }}
+
+
+
+
+ +
+ + {{ status.label }} +
+ {{ item.status[status.key] }} +
+
+
+
+
+
+ {{ item.status[status.key] }} +
+
+
+
- - - - -
- -
- -
+ diff --git a/src/views/screen/mainScreen.vue b/src/views/screen/mainScreen.vue index 6f2dfb9..a80217b 100644 --- a/src/views/screen/mainScreen.vue +++ b/src/views/screen/mainScreen.vue @@ -15,52 +15,46 @@
- +
- - + :externalStaffCount="dashboardData?.externalStaffCount || 0" :visitorCount="dashboardData?.visitorCount || 0" + :parkStatistics="dashboardData?.parkStatistics" /> +
- - + +
- +
- +