From 7a09e0a3fa9ade794de0a31c8a65d9e278a3e5de Mon Sep 17 00:00:00 2001 From: LiuHao Date: Sat, 27 Jan 2024 17:57:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=B0=E5=A2=9E=E9=80=9A=E8=BF=87id?= =?UTF-8?q?s=20=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user/index.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index fdcafc2..19a7b7a 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -17,6 +17,18 @@ export const listUser = (query: UserQuery): AxiosPromise => { }); }; +/** + * 查询用户列表 + * @param userIds + */ +export const optionSelect = (userIds: (number | string)[]): AxiosPromise => { + return request({ + url: '/system/user/optionselect?userIds=' + userIds, + method: 'get', + data: userIds + }); +}; + /** * 获取用户详情 * @param userId @@ -199,6 +211,7 @@ export const deptTreeSelect = (): AxiosPromise => { export default { listUser, getUser, + optionSelect, addUser, updateUser, delUser,