From 3943fb7b5eae746aeb33d4da02a443f9d92afde9 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 25 Oct 2021 14:34:19 +0800
Subject: [PATCH] 添加字段 Map地图增加
---
src/api/system/user.js | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 0c21d46..1a2970a 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,7 @@
...params,
current,
size,
- deptId,
+ ...datas
}
})
}
--
Gitblit v1.9.3