Sfoglia il codice sorgente

feat(hnyzConfiguratePage):G1分解组态页面

HMY 8 mesi fa
parent
commit
077430fb48

+ 23 - 0
ui/src/assets/styles/dcs/equipment.scss

@@ -149,6 +149,29 @@
 }
 
 // 蒸汽管道效果
+.progress_red {
+
+    /* 橙色条纹管道效果:深色增强对比 */
+    .el-progress-bar__inner--striped {
+        background-size: 20px 20px;
+        background-image: linear-gradient(45deg,
+                rgba(200, 200, 200, 1) 25%,
+                /* 白色条纹 */
+                transparent 25%,
+                transparent 50%,
+                rgba(200, 200, 200, 1) 50%,
+                rgba(200, 200, 200, 1) 75%,
+                transparent 75%,
+                transparent);
+    }
+
+    .el-progress-bar__inner {
+        background-color: #c60303;
+    }
+
+
+}
+
 .progress_steam {
 
     /* 橙色条纹管道效果:深色增强对比 */

+ 1 - 1
ui/src/components/DCS/PipeStatusConditionItem.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="condition_item">
-    <el-select v-model="condition.code" placeholder="请选择阀门 Code" style="width: 200px" filterable>
+    <el-select v-model="condition.code" placeholder="请选择设备" style="width: 200px" filterable>
       <el-option v-for="item in codeOptions" :key="item.code" :label="item.equipmentName" :value="item.code" />
     </el-select>
     <el-button type="danger" size="small" @click="$emit('remove')">删除</el-button>

+ 2 - 2
ui/src/views/hnyzConfiguratePage/Na2SO4_G1FJ/index.vue

@@ -13,14 +13,14 @@
             <!-- 泵 -->
             <div class="pumps">
                 <component v-for="item in deviceConfigGroup.PUMPS" :key="item.id" :is="getComponentName(item.modelId)"
-                    :title="getEquipmentTitle(item.equipmentName)" :pumpDataArr="pumpHelper.getDataArrByCode(item.code)"
+                    :title="getEquipmentTitle(item.title)" :pumpDataArr="pumpHelper.getDataArrByCode(item.code)"
                     :isReverse="item.isReverse" :iconSize="item.size" :style="getComponentStyle(item)" />
             </div>
 
             <!-- 罐体 -->
             <div class="tanks">
                 <component v-for="item in deviceConfigGroup.TANKS" :key="item.id" :is="getComponentName(item.modelId)"
-                    :title="getEquipmentTitle(item.equipmentName)" :iconSize="item.size" :iconWidth="item.width"
+                    :title="getEquipmentTitle(item.title)" :iconSize="item.size" :iconWidth="item.width"
                     :iconHeight="item.height" :style="getComponentStyle(item)" />
             </div>