From 8b59fc7dc34cd672db4abc34992d3428941c9f1d Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 04 三月 2025 22:00:29 +0800
Subject: [PATCH] 日志展示bug
---
src/api/system/user.js | 36 +++++++++++++++++++++++++++++++++++-
1 files changed, 35 insertions(+), 1 deletions(-)
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 9b0211a..5cf1ab2 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -10,6 +10,16 @@
})
}
+// 鏌ヨ鐢ㄦ埛鍒楄〃 鏃犳暟鎹潈闄�
+export function listUserNoAuth(query) {
+ return request({
+ url: '/system/user/list/no-data-auth',
+ method: 'get',
+ params: query
+ })
+}
+
+
// 鏌ヨ鐢ㄦ埛璇︾粏
export function getUser(userId) {
return request({
@@ -105,7 +115,6 @@
return request({
url: '/system/user/profile/avatar',
method: 'post',
- headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
data: data
})
}
@@ -134,3 +143,28 @@
method: 'get'
})
}
+
+// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋� 鏃犳暟鎹潈闄�
+export function deptTreeSelectNoAuth() {
+ return request({
+ url: '/system/user/deptTree/no-data-auth',
+ method: 'get'
+ })
+}
+
+
+// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�(flowable涓撶敤)
+export function flowableDeptTreeSelect() {
+ return request({
+ url: '/system/user/flowable/deptTree',
+ method: 'get'
+ })
+}
+
+// 鏌ヨ閮ㄩ棬涓嬩汉鍛�
+export function getByDept(deptId) {
+ return request({
+ url: '/system/user/getByDept/'+deptId,
+ method: 'get'
+ })
+}
--
Gitblit v1.8.0