From 2ca94de8ede18ac07ccfd8dec7b6f6a707adde9b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 01 Sep 2025 11:20:24 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v5.0/5.0.5' into patch_management

---
 src/api/system/dept.js |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index 730ca86..f0fcbc7 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -23,6 +23,14 @@
   });
 };
 
+export const getChildLazyTree = (params) => {
+  return request({
+    url: '/blade-system/dept/getChildLazyTree',
+    method: 'get',
+    params: params
+  });
+};
+
 export const remove = ids => {
   return request({
     url: '/blade-system/dept/remove',
@@ -69,13 +77,11 @@
   });
 };
 
-export const getDeptLazyTree = parentId => {
+export const getDeptLazyTree = param => {
   return request({
     url: '/blade-system/dept/lazy-tree',
     method: 'get',
-    params: {
-      parentId,
-    },
+    params: param
   });
 };
 

--
Gitblit v1.9.3