From a0535e42ebe01366d3bb83e00eb0180b34682a63 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 04 六月 2026 14:04:19 +0800
Subject: [PATCH] 马铃薯app 1.客户往来、供应商往来查询展示修改 2.环境检测页面展示修改
---
src/api/system/user.js | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 21d60bc..60f1913 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -33,10 +33,11 @@
// 鐢ㄦ埛澶村儚涓婁紶
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
})
}
// 鏌ヨ鐢ㄦ埛鍒楄〃
@@ -45,4 +46,11 @@
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