From 2f3b2e7a2acd7f8962635367851dec28f81d27ab Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 20 八月 2025 15:25:45 +0800
Subject: [PATCH] 公司正式库修改
---
src/api/system/user.js | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index ad227f9..431f6b0 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -96,7 +96,7 @@
return request({
url: '/system/user/profile/updatePwd',
method: 'put',
- params: data
+ data: data
})
}
@@ -105,6 +105,7 @@
return request({
url: '/system/user/profile/avatar',
method: 'post',
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
data: data
})
}
@@ -125,3 +126,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