From 5f2ee03958a1a16dc27195c76ea7cffb422c95d1 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期五, 19 十二月 2025 22:40:34 +0800
Subject: [PATCH] feat: 任务修改接口,删除一些不要的字段同步

---
 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