From ede67dc74f5ec5e491b102b1835d9cb5315dc6d5 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期一, 01 八月 2022 10:48:15 +0800
Subject: [PATCH] 双重预防

---
 src/api/doublePreventSystem/productionDevice/index.ts |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/src/api/doublePreventSystem/productionDevice/index.ts b/src/api/doublePreventSystem/productionDevice/index.ts
index 11acf60..4f59f32 100644
--- a/src/api/doublePreventSystem/productionDevice/index.ts
+++ b/src/api/doublePreventSystem/productionDevice/index.ts
@@ -1,40 +1,45 @@
-import request from '/@/utils/request'
+import request from '/@/utils/request';
 
 export function productionDeviceApi() {
     return {
+        // v1
         getProductionDeviceList: (data: object) => {
             return request({
                 url: `/prevent/device/select/getDevicePage`,
                 method: 'post',
-                data:data
+                data: data
             });
         },
+        // v1
         addProductionDevice: (data: object) => {
             return request({
                 url: `/prevent/device/insert/saveDevice`,
                 method: 'post',
-                data:data
+                data: data
             });
         },
+        // v1
         modProductionDevice: (data: object) => {
             return request({
                 url: `/prevent/device/update/updateDevice`,
                 method: 'post',
-                data:data
+                data: data
             });
         },
+        // v1
         deleteProductionDevice: (data: object) => {
             return request({
                 url: `/prevent/device/delete/deleteDevice`,
                 method: 'post',
-                data:data
+                data: data
             });
         },
+        // v1
         getAllProductionDeviceList: () => {
             return request({
                 url: `/prevent/device/select/listDevices`,
-                method: 'post',
+                method: 'post'
             });
-        },
-    }
+        }
+    };
 }

--
Gitblit v1.9.2