From 30ad33f26a0ba587ed5f03cc155f8eb9f1513ff9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 25 十一月 2025 13:18:29 +0800
Subject: [PATCH] 1.海川开心-新增入职必填校验
---
src/api/system/user.js | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index ad227f9..1a455c7 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -8,6 +8,13 @@
method: 'get',
params: query
})
+}// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function listAll(query) {
+ return request({
+ url: '/system/user//listAll',
+ method: 'get',
+ params: query
+ })
}
// 鏌ヨ鐢ㄦ埛璇︾粏
@@ -96,7 +103,7 @@
return request({
url: '/system/user/profile/updatePwd',
method: 'put',
- params: data
+ data: data
})
}
@@ -105,6 +112,7 @@
return request({
url: '/system/user/profile/avatar',
method: 'post',
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
data: data
})
}
@@ -125,3 +133,34 @@
params: data
})
}
+
+// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�
+export function deptTreeSelect() {
+ return request({
+ url: '/system/user/deptTree',
+ method: 'get'
+ })
+}
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function userListNoPageByTenantId() {
+ return request({
+ url: '/system/user/userListNoPageByTenantId',
+ method: 'get'
+ })
+}
+
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function userListNoPage() {
+ return request({
+ url: '/system/user/userListNoPage',
+ method: 'get'
+ })
+}
+// 閮ㄩ棬鍒楄〃
+export function userLoginFacotryList(params) {
+ return request({
+ url: '/userLoginFacotryList',
+ method: 'get',
+ params: params
+ })
+}
--
Gitblit v1.9.3