Przeglądaj źródła

修改安全监控中的进度条

namin 3 lat temu
rodzic
commit
3a5d56f943
2 zmienionych plików z 8 dodań i 25 usunięć
  1. 1 1
      src/components/monitor/left.vue
  2. 7 24
      src/views/monitor/zutai.vue

+ 1 - 1
src/components/monitor/left.vue

@@ -34,7 +34,7 @@
           总分
         </el-col>
         <el-col span="20">
-        
+        <el-progress :percentage="80" :format="format"></el-progress>
           <!-- <Progress :percent="bottomData.totalScore" :stroke-width="20" :status="bottomData.totalScore>50?'':'wrong'">
             <Icon type="checkmark-circled"></Icon>
             <span style="font-size: 16px;" >{{bottomData.totalScore}}分</span>

+ 7 - 24
src/views/monitor/zutai.vue

@@ -35,10 +35,8 @@
                 水害评分
               </el-col>
               <el-col span="20">
-                <!-- <Progress :percent="95" :stroke-width="20">
-                  <Icon type="checkmark-circled"></Icon>
-                  <span  style="font-size: 16px;">95分</span>
-                </Progress> -->
+                <el-progress :percentage="95" :format="format"></el-progress>
+            
               </el-col>
             </el-row>
             <el-row :gutter="10">
@@ -49,10 +47,7 @@
                 火灾评分
               </el-col>
               <el-col span="20">
-                <!-- <Progress :percent="90" :stroke-width="20" >
-                  <Icon type="checkmark-circled"></Icon>
-                  <span  style="font-size: 16px;">90分</span>
-                </Progress> -->
+               <el-progress :percentage="90" :format="format"></el-progress>
               </el-col>
             </el-row>
             <el-row :gutter="10">
@@ -63,10 +58,7 @@
                 矿压灾害
               </el-col>
               <el-col span="20">
-                <!-- <Progress :percent="88" :stroke-width="20">
-                  <Icon type="checkmark-circled"></Icon>
-                  <span  style="font-size: 16px;">88分</span>
-                </Progress> -->
+               <el-progress :percentage="88" :format="format"></el-progress>
               </el-col>
             </el-row>
             <el-row :gutter="16">
@@ -77,10 +69,7 @@
                 粉尘
               </el-col>
               <el-col span="20">
-                <!-- <Progress :percent="90" :stroke-width="20">
-                  <Icon type="checkmark-circled"></Icon>
-                  <span  style="font-size: 16px;">90分</span>
-                </Progress> -->
+                <el-progress :percentage="90" :format="format"></el-progress>
               </el-col>
             </el-row>
             <el-row :gutter="10">
@@ -91,10 +80,7 @@
                 通风情况
               </el-col>
               <el-col span="20">
-                <!-- <Progress :percent="95" :stroke-width="20">
-                  <Icon type="checkmark-circled"></Icon>
-                  <span  style="font-size: 16px;">95分</span>
-                </Progress> -->
+                <el-progress :percentage="95" :format="format"></el-progress>
               </el-col>
             </el-row>
             <el-row :gutter="10">
@@ -105,10 +91,7 @@
                 瓦斯状况
               </el-col>
               <el-col span="20">
-                <!-- <Progress :percent="90" :stroke-width="20">
-                  <Icon type="checkmark-circled"></Icon>
-                  <span  style="font-size: 16px;">90分</span>
-                </Progress> -->
+                <el-progress :percentage="90" :format="format"></el-progress>
               </el-col>
             </el-row>
           </div>