From b231c463d1e14020fae1f5303dd93c2f49c85cdc Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 24 十一月 2025 08:54:50 +0800
Subject: [PATCH] 修改新增
---
src/api/orgStructure/depart.js | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/api/orgStructure/depart.js b/src/api/orgStructure/depart.js
index 089a827..76ffdff 100644
--- a/src/api/orgStructure/depart.js
+++ b/src/api/orgStructure/depart.js
@@ -8,6 +8,13 @@
params: params
})
}
+export function getDepartById(id) {
+ return request({
+ url: '/system/dept/list/' + id,
+ method: 'get',
+ })
+}
+
export function getDeptTreeList(params) {
return request({
@@ -102,4 +109,4 @@
method: 'post',
data: data
})
-}
\ No newline at end of file
+}
--
Gitblit v1.9.2