From e4e330bd76b313896bb867e74b169567f5ace14e Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 12 十二月 2023 08:29:45 +0800
Subject: [PATCH] 集成日志添加查看按钮
---
Source/UBCS-WEB/src/api/system/user.js | 29 +++++++++++++++++++++--------
1 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js
index f0e5d18..6f2378b 100644
--- a/Source/UBCS-WEB/src/api/system/user.js
+++ b/Source/UBCS-WEB/src/api/system/user.js
@@ -160,15 +160,28 @@
})
}
-// 棣栭〉浠e姙娴佺▼浠诲姟鏌ヨ
-export const getUndoTaskList =(current, size, params) => {
+//鍗曠偣鐧诲綍鎺ュ彛
+export const ssoLogin =(empCode) => {
+ const params = new URLSearchParams();
+ params.append('empCode', empCode);
return request({
- url: '/api/ubcs-flow/work/send-list',
- method: 'get',
- params:{
- ...params,
- current,
- size
+ 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