From 79d9fc857559982b00b68b2d709807bdc4cd286f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 11 Apr 2022 10:58:17 +0800
Subject: [PATCH] minio 地址修改
---
src/api/system/dept.js | 35 ++++++++++++++++++++++++-----------
1 files changed, 24 insertions(+), 11 deletions(-)
diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index 2b8b1bf..16320b3 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -69,12 +69,25 @@
})
}
-export const getDeptLazyTree = (parentId) => {
+export const getDeptLazyTree = (parentId, userId) => {
return request({
url: '/api/blade-system/dept/lazy-tree',
method: 'get',
params: {
- parentId
+ parentId,
+ userId
+ }
+ })
+}
+
+export const getSecurityDeptTree = (jurisdiction, parentId, deptId) => {
+ return request({
+ url: '/api/blade-system/dept/security_lazy-tree',
+ method: 'get',
+ params: {
+ jurisdiction,
+ parentId,
+ deptId
}
})
}
@@ -91,15 +104,15 @@
}
export const ss = () => {
- return request({
- url: '/api/blade-system/dept/selectInfo',
- method: 'get',
- })
+ return request({
+ url: '/api/blade-system/dept/selectInfo',
+ method: 'get',
+ })
}
export const rs = () => {
- return request({
- url: '/api/blade-system/role/selectRole',
- method: 'get',
- })
-}
+ return request({
+ url: '/api/blade-system/role/selectRole',
+ method: 'get',
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3