From e558f0ca4c9de7271861601076b2d8e48c513c59 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 18 十一月 2025 14:30:33 +0800
Subject: [PATCH] 修改新增
---
src/api/orgStructure/depart.js | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/api/orgStructure/depart.js b/src/api/orgStructure/depart.js
index 9265347..76ffdff 100644
--- a/src/api/orgStructure/depart.js
+++ b/src/api/orgStructure/depart.js
@@ -8,6 +8,21 @@
params: params
})
}
+export function getDepartById(id) {
+ return request({
+ url: '/system/dept/list/' + id,
+ method: 'get',
+ })
+}
+
+
+export function getDeptTreeList(params) {
+ return request({
+ url: '/system/dept/treeList',
+ method: 'get',
+ params: params
+ })
+}
export function getDepartByPage(params) {
return request({
@@ -80,10 +95,18 @@
})
}
+export function getFunctionalRemarkList(params) {
+ return request({
+ url: '/system/dept/functionalRemarkList',
+ method: 'get',
+ params: params
+ })
+}
+
export function saveDistribution(data) {
return request({
url: '/system/dept/saveFunctionalDistribution',
method: 'post',
data: data
})
-}
\ No newline at end of file
+}
--
Gitblit v1.9.2