From 1c3919f11f5eb5b3c2ba74d95ca6fcdf11ce9bf9 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 25 一月 2024 10:17:35 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

---
 Source/UBCS-WEB/src/api/system/user.js |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/system/user.js b/Source/UBCS-WEB/src/api/system/user.js
index 6026753..6f2378b 100644
--- a/Source/UBCS-WEB/src/api/system/user.js
+++ b/Source/UBCS-WEB/src/api/system/user.js
@@ -137,3 +137,51 @@
     data:UserPwdstrategyVO
   })
 }
+
+// 鎻愰啋鏃堕棿
+export const check =(userId) => {
+  return request({
+    url: '/api/ubcs-user/check-renexpr',
+    method: 'post',
+    params:{
+      userId
+    }
+  })
+}
+
+// 鐢ㄦ埛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