From f466ae4fdc645c66c9f25e2e4598b9809e2b41af Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 13 一月 2024 22:56:49 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdc-front

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

diff --git a/src/api/Api.js b/src/api/Api.js
index f4b202e..43d8f6e 100644
--- a/src/api/Api.js
+++ b/src/api/Api.js
@@ -13,6 +13,9 @@
     // 鍙拌处淇濆瓨
     accountCreate: '/account/create',
     accountUpdate: '/account/update',
+	//璁惧绫诲瀷
+	deviceTypeCreate: '/devicetype/create',
+    deviceTypeUpdate: '/devicetype/update',
     // 杞﹂棿 宸ユ涓嬪暒鏁版嵁
     getWsl: '/machine/workshopList',
     getPcl: '/machine/protocolList'
@@ -26,6 +29,10 @@
         url: '/component/pageQuery',
         method: 'POST'
     },
+    deviceTypeQuery: {
+        url: '/devicetype/pageQuery',
+        method: 'POST'
+	}
     maintainCreate: {
         url: '/maintain/save',
         method: 'POST'
@@ -109,6 +116,15 @@
 export function accountUpdate(params) {
     return sendRequest(HttpConstants.accountUpdate, params)
 }
+
+// 璁惧绫诲瀷淇濆瓨
+export function deviceTypeCreate(params) {
+    return sendRequest(HttpConstants.deviceTypeCreate, params)
+}
+export function deviceTypeUpdate(params) {
+    return sendRequest(HttpConstants.deviceTypeUpdate, params)
+}
+
 // 
 export function getWsl(params) {
     return getData(HttpConstants.getWsl, params)

--
Gitblit v1.9.3