From ad3ecc9167a5f837e0a6292d8e697b799eb6bfc2 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 17 四月 2026 15:57:31 +0800
Subject: [PATCH] 发货审批人列表来源修改
---
src/api/system/user.js | 62 +++++++++++++++++-------------
1 files changed, 35 insertions(+), 27 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 60f1913..32d5495 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -1,56 +1,64 @@
-import upload from '@/utils/upload'
-import request from '@/utils/request'
+import upload from "@/utils/upload";
+import request from "@/utils/request";
// 鐢ㄦ埛瀵嗙爜閲嶇疆
export function updateUserPwd(oldPassword, newPassword) {
const data = {
oldPassword,
- newPassword
- }
+ newPassword,
+ };
return request({
- url: '/system/user/profile/updatePwd',
- method: 'put',
- params: data
- })
+ url: "/system/user/profile/updatePwd",
+ method: "put",
+ params: data,
+ });
}
// 鏌ヨ鐢ㄦ埛涓汉淇℃伅
export function getUserProfile() {
return request({
- url: '/system/user/profile',
- method: 'get'
- })
+ url: "/system/user/profile",
+ method: "get",
+ });
}
// 淇敼鐢ㄦ埛涓汉淇℃伅
export function updateUserProfile(data) {
return request({
- url: '/system/user/profile',
- method: 'put',
- data: data
- })
+ url: "/system/user/profile",
+ method: "put",
+ data: data,
+ });
}
// 鐢ㄦ埛澶村儚涓婁紶
export function uploadAvatar(data) {
return request({
- url: '/system/user/profile/avatar',
- method: 'post',
- headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
- data: data
- })
+ url: "/system/user/profile/avatar",
+ method: "post",
+ headers: { "Content-Type": "application/x-www-form-urlencoded" },
+ data: data,
+ });
}
// 鏌ヨ鐢ㄦ埛鍒楄〃
export function userListNoPage() {
return request({
- url: '/system/user/userListNoPage',
- method: 'get'
- })
+ url: "/system/user/userListNoPage",
+ method: "get",
+ });
}
// 鏌ヨ鐢ㄦ埛鍒楄〃
export function userListNoPageByTenantId() {
return request({
- url: '/system/user/userListNoPageByTenantId',
- method: 'get'
- })
-}
\ No newline at end of file
+ url: "/system/user/userListNoPageByTenantId",
+ method: "get",
+ });
+}
+// 鏌ヨ瀹℃壒浜�
+export function approveUserList(query) {
+ return request({
+ url: "/approveUser/getList",
+ method: "get",
+ params: query,
+ });
+}
--
Gitblit v1.9.3