Explorar o código

运行记录填报1

yuanchao hai 2 meses
pai
achega
b5df405ea9

+ 4 - 0
src/api/pms/iotopeationfill/index.ts

@@ -39,6 +39,10 @@ export const IotOpeationFillApi = {
     return await request.get({ url: `/rq/iot-opeation-fill/page`, params })
   },
 
+  getIotOrderPage: async (params: any) => {
+    return await request.get({ url: `/rq/iot-opeation-fill/orderPage`, params })
+  },
+
   getIotOpeationFillPage1: async (params: any) => {
     return await request.get({ url: `/rq/iot-opeation-fill/page1`, params })
   },

+ 0 - 4
src/views/pms/iotopeationfill/index1.vue

@@ -132,9 +132,7 @@ const getList = async () => {
     queryParams.createTime = formatTimestamp(JSON.parse(deptId.split(",")[2].substring(0,10)));
     queryParams.orderId = deptId.split(",")[3];
     const data = await IotOpeationFillApi.getIotOpeationFillPage(queryParams);
-
       list.value = data;
-
       if(cxStatus){
         queryParams.deviceCategoryId = list.value[0].deviceCategoryId
         queryParams.deptId = list.value[0].deptId;
@@ -142,7 +140,6 @@ const getList = async () => {
         queryParams.deviceName = list.value[0].deviceName;
         queryParams.deviceId = list.value[0].deviceId;
       }
-
       getAttrList();
 
 
@@ -207,7 +204,6 @@ const getAttrList = async () => {
       item.deviceId = queryParams.deviceId;
       item.deviceCategoryId = queryParams.deviceCategoryId;
     })
-
   } finally {
     loading.value = false
   }