From 0d626ae57149d5ed40a32bd8b808ca6069aa6d5e Mon Sep 17 00:00:00 2001
From: gaosp <gaosp>
Date: 星期日, 14 一月 2024 16:35:08 +0800
Subject: [PATCH] update

---
 src/api/Api.js |   64 +++++++++++++++++++++++++++++++-
 1 files changed, 62 insertions(+), 2 deletions(-)

diff --git a/src/api/Api.js b/src/api/Api.js
index c1738cf..ec6ecc8 100644
--- a/src/api/Api.js
+++ b/src/api/Api.js
@@ -1,7 +1,7 @@
 /*
  * @Date: 2024-01-10 20:37:45
  * @LastEditors: Sneed
- * @LastEditTime: 2024-01-13 10:48:47
+ * @LastEditTime: 2024-01-14 16:17:20
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/api/Api.js
  */
 import ajax from '@/utils/ajax'
@@ -16,6 +16,7 @@
 	//璁惧绫诲瀷
 	deviceTypeCreate: '/devicetype/create',
     deviceTypeUpdate: '/devicetype/update',
+	deviceTypeDelete: '/devicetype/delete',
     // 杞﹂棿 宸ユ涓嬪暒鏁版嵁
     getWsl: '/machine/workshopList',
     getPcl: '/machine/protocolList'
@@ -25,6 +26,10 @@
         url: '/account/remainings',
         method: 'GET'
     },
+    accountDel: {
+        url: '/account/delete',
+        method: 'POST'
+    },
     componentQuery: {
         url: '/component/pageQuery',
         method: 'POST'
@@ -32,8 +37,59 @@
     deviceTypeQuery: {
         url: '/devicetype/pageQuery',
         method: 'POST'
+	},
+    maintainCreate: {
+        url: '/maintain/save',
+        method: 'POST'
+    },
+    maintainUpdate: {
+        url: '/maintain/update',
+        method: 'POST'
+    },
+    maintaindelete: {
+        url: '/devicetype/delete',
+        method: 'POST'
+    },
+    deviceTypeQuery: {
+        url: '/devicetype/pageQuery',
+        method: 'POST'
+    },
+    deviceTypeCreate: {
+        url: '/devicetype/save',
+        method: 'POST'
+    },
+    deviceTypeUpdate: {
+        url: '/devicetype/update',
+        method: 'POST'
+    },
+    deviceTypeDelete: {
+        url: '/devicetype/delete',
+        method: 'POST'
+    },
+    machineList: {
+        url: '/machine/list',
+        method: 'POST'
+    },
+    machineConcern: {
+        url: '/machine/concern',
+        method: 'POST'
+    },
+    machineQuery: {
+        url: '/machine/pageQuery',
+        method: 'POST'
+    },
+    machineSave: {
+        url: '/machine/save',
+        method: 'POST'
+    },
+    machineUpdate: {
+        url: '/machine/modify',
+        method: 'POST'
+    },
+    userList: {
+        url: '/user/list',
+        method: 'GET'
     }
-    
 }
 // 姝e紡鐜閰嶇疆鍦板潃
 export const URL_CFG = {
@@ -89,6 +145,10 @@
 export function deviceTypeUpdate(params) {
     return sendRequest(HttpConstants.deviceTypeUpdate, params)
 }
+export function deviceTypeDelete(ids) {
+	console.log(HttpConstants.deviceTypeDelete)
+    return sendRequest(HttpConstants.deviceTypeDelete, { ids: ids })
+}
 
 // 
 export function getWsl(params) {

--
Gitblit v1.9.3