From c752e33fe402e2179e7e6795f567d41c044ca3c6 Mon Sep 17 00:00:00 2001
From: yaozc <yaozc@yhzhg.cn>
Date: Fri, 07 Jul 2023 08:39:58 +0000
Subject: [PATCH] Merge branch 'yaozc_new' of http://192.168.1.110:5678/r/pms-upgrade
---
eladmin-web-master/src/api/system/user.js | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git a/eladmin-web-master/src/api/system/user.js b/eladmin-web-master/src/api/system/user.js
index 543191e..b675c07 100644
--- a/eladmin-web-master/src/api/system/user.js
+++ b/eladmin-web-master/src/api/system/user.js
@@ -9,6 +9,22 @@
})
}
+export function get(params) {
+ return request({
+ url: 'api/users',
+ method: 'get',
+ params
+ })
+}
+
+export function getApprovalUsers(params) {
+ return request({
+ url: 'api/users/approval',
+ method: 'get',
+ params
+ })
+}
+
export function add(data) {
return request({
url: 'api/users',
@@ -65,4 +81,18 @@
})
}
-export default { getAll, add, edit, del }
+export function getUserCalendarInfo(month) {
+ return request({
+ url: 'api/users/getUserCalendarInfo/' + month,
+ method: 'get'
+ })
+}
+
+export function getUserBaseInfo(yearMonth) {
+ return request({
+ url: 'api/users/getUserBaseInfo/' + yearMonth,
+ method: 'get'
+ })
+}
+
+export default { getAll, add, edit, del, get, getApprovalUsers, getUserCalendarInfo, getUserBaseInfo }
--
Gitblit v1.9.3