From 58c126c36954e438148d5f548d45ab1fdc0167b6 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 26 Apr 2021 17:46:26 +0800
Subject: [PATCH] 设备弹窗

---
 src/api/client/client.js |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/src/api/client/client.js b/src/api/client/client.js
index 28cb76d..5273fe3 100644
--- a/src/api/client/client.js
+++ b/src/api/client/client.js
@@ -18,10 +18,31 @@
     url: '/api/blade-jfpts/equipment/equipment/pageDept',
     method: 'get',
     params: {
-      ...params,
+      pid,
       current,
       size,
-      pid,
+      ...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,
     }
   })
 }

--
Gitblit v1.9.3