From 186b7061eb4468324360c44e53cf8b2872393f31 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 16 四月 2024 17:29:32 +0800
Subject: [PATCH] 工单阈值视频的阈值条件调整

---
 src/views/system/threshold/index.vue |   26 +++++++++++---------------
 1 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/src/views/system/threshold/index.vue b/src/views/system/threshold/index.vue
index 2f3d7f1..e825916 100644
--- a/src/views/system/threshold/index.vue
+++ b/src/views/system/threshold/index.vue
@@ -18,9 +18,9 @@
       <el-table-column type="selection" width="55" align="center"/>
       <el-table-column label="璁惧绫诲瀷" align="center" prop="monitorType">
         <template slot-scope="scope">
-          <span v-show="scope.row['monitorType'] === '1'">浜鸿劯</span>
-          <span v-show="scope.row['monitorType'] === '2'">杞﹁締</span>
-          <span v-show="scope.row['monitorType'] === '3'">瑙嗛</span>
+          <span v-show="scope.row['monitorType'] === 'face'">浜鸿劯</span>
+          <span v-show="scope.row['monitorType'] === 'car'">杞﹁締</span>
+          <span v-show="scope.row['monitorType'] === 'video'">瑙嗛</span>
         </template>
       </el-table-column>
       <el-table-column label="瓒呮椂澶╂暟" align="center" prop="timeout"/>
@@ -75,9 +75,9 @@
       <el-form ref="form" :model="form" :rules="rules" label-width="150px">
         <el-form-item label="璁惧绫诲瀷" prop="monitorType">
           <el-select v-model="form.monitorType" placeholder="璇烽�夋嫨璁惧绫诲瀷" @change="handleModeNameChange">
-            <el-option label="浜鸿劯" value="1"/>
-            <el-option label="杞﹁締" value="2"/>
-            <el-option label="瑙嗛" value="3"/>
+            <el-option label="浜鸿劯" value="face"/>
+            <el-option label="杞﹁締" value="car"/>
+            <el-option label="瑙嗛" value="video"/>
           </el-select>
         </el-form-item>
         <el-form-item label="瓒呮椂澶╂暟" prop="timeout" label-width="150px">
@@ -276,7 +276,7 @@
             value: null
           }
         ]
-      } else if (this.form.monitorType === '2') {
+      } else if (this.form.monitorType === 'car') {
         this.indicators = [
           {
             label: '杩囪溅鏁版嵁閲�',
@@ -311,24 +311,20 @@
             value: null
           }
         ]
-      } else if (this.form.monitorType === '3') {
+      } else if (this.form.monitorType === 'video') {
         this.indicators = [
           {
-            label: '閲囬泦璁惧鎬绘暟',
+            label: '褰曞儚璐ㄩ噺',
             value: null
           },
           {
-            label: '鐩戞祴姝e父璁惧鏁�',
+            label: '鏍囨敞鍑嗙‘鐜�',
             value: null
           },
           {
-            label: '缂栫爜寮傚父璁惧鏁�',
+            label: '鍥惧儚璐ㄩ噺',
             value: null
           },
-          {
-            label: '缁忕含搴﹀紓甯歌澶囨暟',
-            value: null
-          }
         ]
       }
     }

--
Gitblit v1.8.0