From c098f1e3a3e052aa3d65584aae6dc003a70d75ad Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期二, 16 十二月 2025 00:09:14 +0800
Subject: [PATCH] feat: 停止轮询 uncount
---
app/api/system/user.js | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/app/api/system/user.js b/app/api/system/user.js
index 0e307ea..8ea2b48 100644
--- a/app/api/system/user.js
+++ b/app/api/system/user.js
@@ -39,3 +39,32 @@
filePath: data.filePath
})
}
+
+// 鏌ヨ鐢ㄦ埛鍒楄〃锛堝悗鍙扮鐞嗙敤锛�
+export function listUser(query) {
+ return request({
+ url: '/system/user/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 鏌ヨ褰撳墠鐢ㄦ埛绠$悊鐨勫垎鍏徃涓嬬殑鎵�鏈夌敤鎴凤紙灏忕▼搴忕涓撶敤锛�
+export function listBranchUsers() {
+ return request({
+ url: '/system/user/branch/users',
+ method: 'get'
+ })
+}
+
+// 鏍规嵁鍒嗗叕鍙窱D鍒楄〃鏌ヨ鐢ㄦ埛锛堝皬绋嬪簭绔笓鐢級
+// 鏍规嵁鍒嗗叕鍙窱D鏁扮粍鏌ヨ鐢ㄦ埛(POST鏂瑰紡)
+export function listUsersByBranchDepts(branchDeptIds) {
+ return request({
+ url: '/system/user/branch/users',
+ method: 'post',
+ data: {
+ branchDeptIds
+ }
+ })
+}
--
Gitblit v1.9.1