From 7a0790d8224db45a039bf33d0ef4e24ae879a243 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 30 六月 2026 10:38:05 +0800
Subject: [PATCH] 采购退货重构,添加新增、删除功能;供应商管理新增修改删除功能
---
src/api/system/user.js | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index d961407..60f1913 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -33,9 +33,24 @@
// 鐢ㄦ埛澶村儚涓婁紶
export function uploadAvatar(data) {
- return upload({
+ return request({
url: '/system/user/profile/avatar',
- name: data.name,
- filePath: data.filePath
+ method: 'post',
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
+ data: data
})
}
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function userListNoPage() {
+ return request({
+ url: '/system/user/userListNoPage',
+ method: 'get'
+ })
+}
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function userListNoPageByTenantId() {
+ return request({
+ url: '/system/user/userListNoPageByTenantId',
+ method: 'get'
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3