From b609f77709c4646daf155341475ae14fc0c7943d Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期五, 27 六月 2025 13:25:30 +0800
Subject: [PATCH] 修改
---
src/api/system/dept.js | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index fc943cd..2632179 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -9,6 +9,15 @@
})
}
+// 查询部门列表
+export function listOutDept(query) {
+ return request({
+ url: '/system/dept/getOutDeptList',
+ method: 'get',
+ params: query
+ })
+}
+
// 查询部门列表(排除节点)
export function listDeptExcludeChild(deptId) {
return request({
@@ -28,7 +37,7 @@
// 新增部门
export function addDept(data) {
return request({
- url: '/system/dept',
+ url: '/system/dept/add',
method: 'post',
data: data
})
--
Gitblit v1.9.2