From 0b8f48fb610c8a2e3f9fb633241fcf46a78da69d Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: 星期二, 30 四月 2024 22:46:10 +0800 Subject: [PATCH] fix: 更新时有岗位会被赋值为空的bug --- src/api/system/user/index.ts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index fdcafc2..61a58f6 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -18,6 +18,17 @@ }; /** + * 閫氳繃鐢ㄦ埛ids鏌ヨ鐢ㄦ埛 + * @param userIds + */ +export const optionSelect = (userIds: (number | string)[]): AxiosPromise<UserVO[]> => { + return request({ + url: '/system/user/optionselect?userIds=' + userIds, + method: 'get' + }); +}; + +/** * 鑾峰彇鐢ㄦ埛璇︽儏 * @param userId */ @@ -199,6 +210,7 @@ export default { listUser, getUser, + optionSelect, addUser, updateUser, delUser, -- Gitblit v1.9.3