From 5a1616f169d75ece07d2d12a8edac3e5f660a920 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期四, 08 九月 2022 09:36:16 +0800
Subject: [PATCH] 合并

---
 src/views/riskWarningSys/warningBigScreen/indexs/index.vue |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/src/views/riskWarningSys/warningBigScreen/indexs/index.vue b/src/views/riskWarningSys/warningBigScreen/indexs/index.vue
index 87d78cc..570d38d 100644
--- a/src/views/riskWarningSys/warningBigScreen/indexs/index.vue
+++ b/src/views/riskWarningSys/warningBigScreen/indexs/index.vue
@@ -49,7 +49,16 @@
             <div v-else>当前应急物资储备情况(总)</div>
             <dv-decoration8 :color="lineColor" :reverse="true" style="width:100%;" />
           </div>
-          <div class="des-main">
+          <div v-if="curChart===2" class="des-main">
+            <div>
+              <h4>距上次【<span>{{trainDesc.title}}</span>】应急演练结束<span>{{trainDesc.total}}</span>天</h4>
+              <h4>
+                应急演练分月情况汇总:
+              </h4>
+              <p v-for="(item,index) in trainDesc.list" :key="index">{{item.month}}应急演练次数:{{item.num}}次</p>
+            </div>
+          </div>
+          <div v-else class="des-main">
             <div v-for="(item,index) in accidentDesc" :key="index">
               <h4><span>{{item.title}}</span>共计:<span>{{item.total}}</span>起</h4>
               <h4>
@@ -86,6 +95,7 @@
     optionList: Array<any>;
     lineColor: Array<string>;
     accidentDesc: Array<any>;
+    trainDesc: Object;
   }
   export default defineComponent({
     name: 'warningPage',
@@ -182,7 +192,45 @@
             total: 150,
             desc: '死亡人数:0人; 重伤人数:0人; 轻伤人数:0人; 直接经济损失:9万元'
           }
-        ]
+        ],
+        trainDesc:{
+          title: '公司级',
+          total: 5,
+          list: [
+            {
+              month: '一月份',
+              num: 23
+            },
+            {
+              month: '二月份',
+              num: 76
+            },
+            {
+              month: '三月份',
+              num: 152
+            },
+            {
+              month: '四月份',
+              num: 200
+            },
+            {
+              month: '五月份',
+              num: 49
+            },
+            {
+              month: '六月份',
+              num: 83
+            },
+            {
+              month: '七月份',
+              num: 102
+            },
+            {
+              month: '八月份',
+              num: 99
+            }
+          ]
+        }
       });
 
       // 页面载入时执行方法
@@ -347,6 +395,7 @@
             color: #11FEEE;
 
             &::-webkit-scrollbar { width: 0; height: 0; color: transparent; }
+            &::scrollbar { width: 0; height: 0; color: transparent; }
 
             &>div{
               margin-bottom: 2rem;

--
Gitblit v1.9.2