From 81e1b297b1fabec596c1cb7187ce2d6199026429 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 30 Nov 2023 16:51:10 +0800
Subject: [PATCH] 模拟考试成绩查询
---
src/api/system/dept.js | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index 2634f3e..16320b3 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -69,13 +69,25 @@
})
}
-export const getDeptLazyTree = (parentId, jurisdiction) => {
+export const getDeptLazyTree = (parentId, userId) => {
return request({
url: '/api/blade-system/dept/lazy-tree',
method: 'get',
params: {
parentId,
- jurisdiction
+ userId
+ }
+ })
+}
+
+export const getSecurityDeptTree = (jurisdiction, parentId, deptId) => {
+ return request({
+ url: '/api/blade-system/dept/security_lazy-tree',
+ method: 'get',
+ params: {
+ jurisdiction,
+ parentId,
+ deptId
}
})
}
@@ -103,4 +115,4 @@
url: '/api/blade-system/role/selectRole',
method: 'get',
})
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3