From 1f61ac859c74ffe577d68545edb58f79ec66d5a7 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 18 十月 2023 21:31:24 +0800 Subject: [PATCH] 1、编码规则增加显示所有者列,高级查询中增加所有者; 2、用户管理界面添加停用启用按钮。 --- Source/UBCS-WEB/src/api/system/user.js | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js index 9f94fef..6f2378b 100644 --- a/Source/UBCS-WEB/src/api/system/user.js +++ b/Source/UBCS-WEB/src/api/system/user.js @@ -148,3 +148,40 @@ } }) } + +// 鐢ㄦ埛map鍒楄〃鏌ヨ +export const getByRoleUserList =(roleName) => { + return request({ + url: '/api/ubcs-user/getByRoleUserList', + method: 'get', + params:{ + roleName + } + }) +} + +//鍗曠偣鐧诲綍鎺ュ彛 +export const ssoLogin =(empCode) => { + const params = new URLSearchParams(); + params.append('empCode', empCode); + return request({ + url: '/api/ubcs-code/passwordFree/ssoLogin', + method: 'post', + headers: { + 'Content-Type': 'application/x-www-form-urlencoded' + }, + data: params + }) +} + +//淇敼鐢ㄦ埛鐘舵�� +export const updateUserStatus = (userIds,status) => { + return request({ + url: '/api/ubcs-user/updateUserStatus', + method: 'post', + params: { + userIds, + status + } + }) +} -- Gitblit v1.9.3