From 248f7701b3055d53cdc44b39fb57852373a9aa99 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Mon, 08 Nov 2021 19:46:15 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/api/system/user.js | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index bc6f77c..87d1eb9 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -13,7 +13,13 @@
-export const getList = (current, size, params, deptId) => {
+export const getList = (current, size, params, deptId, jurisdiction) => {
+ var datas = {};
+ if (jurisdiction == '') {
+ datas = { deptId: deptId };
+ } else {
+ datas = { jurisdiction: jurisdiction };
+ }
return request({
url: '/api/blade-user/page',
method: 'get',
@@ -21,7 +27,7 @@
...params,
current,
size,
- deptId,
+ ...datas
}
})
}
@@ -30,6 +36,17 @@
export const getListByDeptId = (deptId, status) => {
return request({
url: '/api/blade-user/page-security-units',
+ method: 'get',
+ params: {
+ deptId,
+ status
+ }
+ })
+}
+
+export const getSecurityDispatcherTree = (deptId, status) => {
+ return request({
+ url: '/api/blade-user/security-dispatcher-tree',
method: 'get',
params: {
deptId,
@@ -74,6 +91,15 @@
}
+export const updatePaperTime = (row) => {
+ return request({
+ url: '/api/blade-user/updatePaperTime',
+ method: 'post',
+ data: row
+ })
+}
+
+
export const saveOrUpdateUserPractitionersInfo = (row) => {
return request({
url: '/api/experience/saveOrUpdate',
--
Gitblit v1.9.3