From 8c6cf205affbbc8ada74f00a7ca25ebca867e9ed Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 27 Sep 2021 11:44:44 +0800
Subject: [PATCH] 图表颜色
---
src/api/system/dept.js | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index d6d3f47..2634f3e 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -69,12 +69,13 @@
})
}
-export const getDeptLazyTree = (parentId) => {
+export const getDeptLazyTree = (parentId, jurisdiction) => {
return request({
url: '/api/blade-system/dept/lazy-tree',
method: 'get',
params: {
- parentId
+ parentId,
+ jurisdiction
}
})
}
@@ -88,4 +89,18 @@
parentId
}
})
-}
\ No newline at end of file
+}
+
+export const ss = () => {
+ return request({
+ url: '/api/blade-system/dept/selectInfo',
+ method: 'get',
+ })
+}
+
+export const rs = () => {
+ return request({
+ url: '/api/blade-system/role/selectRole',
+ method: 'get',
+ })
+}
--
Gitblit v1.9.3