From 6ce99cb40ee88271fa0d0d8daea99ba0eaec122f Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Fri, 05 Nov 2021 16:01:39 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises
---
src/api/system/user.js | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 52 insertions(+), 3 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 7cb2d0f..2df0fdc 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -1,6 +1,25 @@
import request from '@/router/axios';
-export const getList = (current, size, params, deptId) => {
+export const getJurisdiction = (params) => {
+ return request({
+ url: '/api/jurisdiction/selJur',
+ method: 'get',
+ params: {
+ ...params
+ }
+ })
+}
+
+
+
+
+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',
@@ -8,7 +27,19 @@
...params,
current,
size,
+ ...datas
+ }
+ })
+}
+
+
+export const getListByDeptId = (deptId, status) => {
+ return request({
+ url: '/api/blade-user/page-security-units',
+ method: 'get',
+ params: {
deptId,
+ status
}
})
}
@@ -31,9 +62,27 @@
})
}
+
+export const securitySave = (row) => {
+ return request({
+ url: '/api/blade-user/securitySave',
+ method: 'post',
+ data: row
+ })
+}
+
export const update = (row) => {
return request({
url: '/api/blade-user/update',
+ method: 'post',
+ data: row
+ })
+}
+
+
+export const updatePaperTime = (row) => {
+ return request({
+ url: '/api/blade-user/updatePaperTime',
method: 'post',
data: row
})
@@ -80,12 +129,12 @@
})
}
-export const getUserPractitionersInfo = (cardid) => {
+export const getUserPractitionersInfo = (securityid) => {
return request({
url: '/api/experience/selectExperienceInfo',
method: 'get',
params: {
- cardid,
+ securityid,
}
})
}
--
Gitblit v1.9.3