Explorar el Código

5.5-工作面智能管控更新

lxh hace 1 día
padre
commit
7059388250
Se han modificado 1 ficheros con 6 adiciones y 12 borrados
  1. 6 12
      src/views/vent/home/colliery/index.vue

+ 6 - 12
src/views/vent/home/colliery/index.vue

@@ -217,19 +217,13 @@
         lineList.value = paramArr;
       }
 
-      // if (res.sys_surface_caimei.length != 0) {
-      //   workList.value = res.sys_surface_caimei;
-      // } else {
-      //   let paramArr: any = [];
-      //   workList.value = getDate(paramArr);
-      // }
-         let paramArr: any = [
-          {
-            deviceName:'25216采煤工作面',
-            deviceID:'1',
-          }
-         ];
+      if (res.sys_surface_caimei.length != 0) {
+        workList.value = res.sys_surface_caimei;
+      } else {
+        let paramArr: any = [];
         workList.value = getDate(paramArr);
+      }
+        
       warnData.value = res.warn || [];
       deviceData.value = res.device || {};