From cc077cba0e6a0c1d9ec11af6c89ee5c898cee423 Mon Sep 17 00:00:00 2001
From: gaosp <gaosp>
Date: 星期三, 17 一月 2024 00:25:06 +0800
Subject: [PATCH] updatte

---
 src/api/Api.js |   43 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 40 insertions(+), 3 deletions(-)

diff --git a/src/api/Api.js b/src/api/Api.js
index 43d8f6e..5d08ed2 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 21:27:18
+ * @LastEditTime: 2024-01-17 00:00:54
  * @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,14 @@
         url: '/account/remainings',
         method: 'GET'
     },
+    deviceRemainings: {
+        url: '/account/remainings',
+        method: 'GET'
+    },
+    accountDel: {
+        url: '/account/delete',
+        method: 'POST'
+    },
     componentQuery: {
         url: '/component/pageQuery',
         method: 'POST'
@@ -32,13 +41,17 @@
     deviceTypeQuery: {
         url: '/devicetype/pageQuery',
         method: 'POST'
-	}
+	},
     maintainCreate: {
         url: '/maintain/save',
         method: 'POST'
     },
     maintainUpdate: {
         url: '/maintain/update',
+        method: 'POST'
+    },
+    maintainDel: {
+        url: '/maintain/delete',
         method: 'POST'
     },
     maintaindelete: {
@@ -57,9 +70,13 @@
         url: '/devicetype/update',
         method: 'POST'
     },
-    deviceTypeDel: {
+    deviceTypeDelete: {
         url: '/devicetype/delete',
         method: 'POST'
+    },
+    deviceTypeList:  {
+        url: '/devicetype/list',
+        method: 'GET'
     },
     machineList: {
         url: '/machine/list',
@@ -68,6 +85,22 @@
     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紡鐜閰嶇疆鍦板潃
@@ -124,6 +157,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