瀏覽代碼

器件

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 3 月之前
父節點
當前提交
bb228bffa4
共有 2 個文件被更改,包括 14 次插入15 次删除
  1. 1 1
      ems-ui-cloud/src/views/devmgr/attr/index.vue
  2. 13 14
      ems-ui-cloud/src/views/mgr/powerdist.vue

+ 1 - 1
ems-ui-cloud/src/views/devmgr/attr/index.vue

@@ -727,7 +727,7 @@ export default {
     getDeviceStatusClass(status) {
       return status === 1 ? 'status-online' : 'status-offline'
     },
-    
+
     getDeviceStatusText(status) {
       const statusMap = {
         0: '离线',

+ 13 - 14
ems-ui-cloud/src/views/mgr/powerdist.vue

@@ -145,12 +145,11 @@
         <div class="switch">
           <img class="rightArrow" src="@/assets/images/mgr/line2.svg" alt="">
           <el-table :data="eqptList" style="width: 100%">
-            <el-table-column prop="deviceCode" align="center" width="100" label="设备代码"></el-table-column>
+            <el-table-column prop="deviceCode" align="center" width="200" label="设备代码"></el-table-column>
             <el-table-column prop="deviceName" align="center" width="100" label="设备名称"></el-table-column>
             <el-table-column prop="deviceBrand" align="center" width="100" label="设备品牌"></el-table-column>
             <el-table-column prop="location" align="center" width="100" label="安装位置"></el-table-column>
-
-
+            <el-table-column prop="psCode" align="center" width="100" label="工艺标识"></el-table-column>
           </el-table>
         </div>
       </Panel>
@@ -565,17 +564,17 @@ export default {
       }
     }
 
-    .switch {
-      padding: 10px;
-      position: relative;
-
-      .rightArrow {
-        position: absolute;
-        top: 65px;
-        left: -20px;
-        z-index: 999;
-      }
-    }
+    //.switch {
+    //  padding: 10px;
+    //  position: relative;
+    //
+    //  .rightArrow {
+    //    position: absolute;
+    //    top: 65px;
+    //    left: -20px;
+    //    z-index: 999;
+    //  }
+    //}
   }
 }
 </style>