Explorar o código

style(eoeg): 更新对话框配置和看板状态显示

- 为 EOEG 变更详情对话框添加 close-on-click-modal 配置
- 为 EOEG 锁开锁关申请对话框添加 close-on-click-modal 配置
- 为 EOEG 锁开锁关对话框添加 close-on-click-modal 配置
- 在 levelA 看板中添加异常状态标签显示
- 在 levelB 看板中添加异常状态标签显示
- 在 levelC 看板中添加异常状态标签显示
- 调整状态样式返回值,统一使用 yellow 样式
- 修复看板中状态颜色显示逻辑
jiangbiao hai 11 horas
pai
achega
52cae81a14

+ 2 - 2
ui/src/views/eoeg/eoegChange/index.vue

@@ -137,7 +137,7 @@
       @pagination="getList"
     />
 
-    <el-dialog title="详情" :visible.sync="detail.open" width="70%" append-to-body close-on-click-modal>
+    <el-dialog title="详情" :visible.sync="detail.open" width="70%" append-to-body :close-on-click-modal="false">
       <el-descriptions class="margin-top" :column="2" border :label-style="{'width': '200px'}">
         <el-descriptions-item label="申请状态">
           <el-tag size="small" :type="approveStatusFlag">{{ approveStatus[detail.detailData.approveStatus] }}</el-tag>
@@ -223,7 +223,7 @@
     </el-dialog>
 
     <!-- 添加或修改EOEG 锁开锁关申请对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="700px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" width="700px" append-to-body :close-on-click-modal="false">
       <el-form ref="form" :model="form" :rules="rules" label-width="180px">
         <el-form-item label="破锁编号" prop="lockNo">
           <el-select v-model="form.lockNo" placeholder="请选择锁编号" clearable size="small" filterable

+ 1 - 1
ui/src/views/eoeg/eoegLock/index.vue

@@ -123,7 +123,7 @@
     />
 
     <!-- 添加或修改EOEG 锁开锁关对话框 -->
-    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body :close-on-click-modal="false">
       <el-form ref="form" :model="form" :rules="rules" label-width="80px">
         <el-form-item label="唯一编号" prop="uniqueIdentifier">
           <el-input v-model="form.uniqueIdentifier" placeholder="请输入唯一编号"/>

+ 5 - 2
ui/src/views/eoeg/eoegLock/lock-levelA.vue

@@ -16,6 +16,9 @@
             <th>
               <el-tag class="fwAndbr" size="medium" style="font-size: 12px;margin: 5px 10px;">LCHQ</el-tag>
             </th>
+            <th>
+              <el-tag class="yellow" size="medium" style="font-size: 12px;margin: 5px 10px;">异常状态</el-tag>
+            </th>
             <th colspan="25">
               <span style="font-size: 40px">EOEG装置锁开&锁关摆放看板</span><br/>
             </th>
@@ -356,7 +359,7 @@ export default {
         if (item.status == 0) {//白字
           return 'fwAndbr'
         } else if (item.status == 1) {//绿字
-          return 'fgAndbr'
+          return 'yellow'
         } else {
           return 'grey'
         }
@@ -364,7 +367,7 @@ export default {
         if (item.status == 0) {//白字
           return 'fwAndbg'
         } else if (item.status == 1) {//红字
-          return 'frAndbg'
+          return 'yellow'
         } else {
           return 'grey'
         }

+ 5 - 2
ui/src/views/eoeg/eoegLock/lock-levelB.vue

@@ -16,6 +16,9 @@
             <th>
               <el-tag class="fwAndbr" size="medium" style="font-size: 12px;margin: 5px 10px;">LCHQ</el-tag>
             </th>
+            <th>
+              <el-tag class="yellow" size="medium" style="font-size: 12px;margin: 5px 10px;">异常状态</el-tag>
+            </th>
             <th colspan="25">
               <span style="font-size: 40px">EOEG装置锁开&锁关摆放看板</span><br/>
             </th>
@@ -356,7 +359,7 @@ export default {
         if (item.status == 0) {//白字
           return 'fwAndbr'
         } else if (item.status == 1) {//绿字
-          return 'fgAndbr'
+          return 'yellow'
         } else {
           return 'grey'
         }
@@ -364,7 +367,7 @@ export default {
         if (item.status == 0) {//白字
           return 'fwAndbg'
         } else if (item.status == 1) {//红字
-          return 'frAndbg'
+          return 'yellow'
         } else {
           return 'grey'
         }

+ 5 - 2
ui/src/views/eoeg/eoegLock/lock-levelC.vue

@@ -16,6 +16,9 @@
             <th>
               <el-tag class="fwAndbr" size="medium" style="font-size: 12px;margin: 5px 10px;">LCHQ</el-tag>
             </th>
+            <th>
+              <el-tag class="yellow" size="medium" style="font-size: 12px;margin: 5px 10px;">异常状态</el-tag>
+            </th>
             <th colspan="25">
               <span style="font-size: 40px">EOEG装置锁开&锁关摆放看板</span><br/>
             </th>
@@ -356,7 +359,7 @@ export default {
         if (item.status == 0) {//白字
           return 'fwAndbr'
         } else if (item.status == 1) {//绿字
-          return 'fgAndbr'
+          return 'yellow'
         } else {
           return 'grey'
         }
@@ -364,7 +367,7 @@ export default {
         if (item.status == 0) {//白字
           return 'fwAndbg'
         } else if (item.status == 1) {//红字
-          return 'frAndbg'
+          return 'yellow'
         } else {
           return 'grey'
         }