From d74734fd32b892c4e71dccc0f85db7f3e9d36f18 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 27 Apr 2021 09:14:34 +0800
Subject: [PATCH] websocket调整
---
src/api/client/client.js | 43 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/src/api/client/client.js b/src/api/client/client.js
index b8c1451..5273fe3 100644
--- a/src/api/client/client.js
+++ b/src/api/client/client.js
@@ -13,6 +13,39 @@
})
}
+export const getListliu = (current, size, params,pid) => {
+ return request({
+ url: '/api/blade-jfpts/equipment/equipment/pageDept',
+ method: 'get',
+ params: {
+ pid,
+ current,
+ size,
+ ...params,
+ }
+ })
+}
+// export const getListliuf = (current, size, params,pid) => {
+// return request({
+// url: '/api/blade-jfpts/equipment/equipment/pageDept',
+// method: 'get',
+// params: {
+// ...params,
+// current,
+// size,
+// pid,
+// }
+// })
+// }
+export const getListliuc = (parentId) => {
+ return request({
+ url: '/api/blade-system/dept/lazy-trees',
+ method: 'get',
+ params: {
+ parentId,
+ }
+ })
+}
export const getAll = () => {
return request({
url: '/api/blade-jfpts/equipment/equipment/listAll',
@@ -87,3 +120,13 @@
})
}
+export const getBaTree = (id) => {
+ return request({
+ url: '/api/blade-user/pages',
+ method: 'get',
+ params: {
+ id,
+ }
+ })
+}
+
--
Gitblit v1.9.3