From b8d63989635bc9fb58357f76333796e21409985b Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 13 一月 2024 22:29:17 +0800
Subject: [PATCH] 设备类型管理1

---
 src/api/Api.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/api/Api.js b/src/api/Api.js
index 7025fd6..b6eac8b 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-12 21:14:57
+ * @LastEditTime: 2024-01-13 10:48:47
  * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/api/Api.js
  */
 import ajax from '@/utils/ajax'
@@ -12,6 +12,7 @@
     useDepartments: '/account/useDepartments',
     // 鍙拌处淇濆瓨
     accountCreate: '/account/create',
+    accountUpdate: '/account/update',
     // 杞﹂棿 宸ユ涓嬪暒鏁版嵁
     getWsl: '/machine/workshopList',
     getPcl: '/machine/protocolList'
@@ -20,7 +21,16 @@
     accountQuery: {
         url: '/account/remainings',
         method: 'GET'
+    },
+    componentQuery: {
+        url: '/component/pageQuery',
+        method: 'POST'
+    },
+    deviceTypeQuery: {
+        url: '/devicetype/pageQuery',
+        method: 'POST'
     }
+    
 }
 // 姝e紡鐜閰嶇疆鍦板潃
 export const URL_CFG = {
@@ -65,6 +75,9 @@
 export function accountCreate(params) {
     return sendRequest(HttpConstants.accountCreate, params)
 }
+export function accountUpdate(params) {
+    return sendRequest(HttpConstants.accountUpdate, params)
+}
 // 
 export function getWsl(params) {
     return getData(HttpConstants.getWsl, params)

--
Gitblit v1.9.3