From 05ce7d92a921c38b88100e48070e38582f52df36 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 02 Dec 2021 10:47:30 +0800
Subject: [PATCH] πŸŽ‰ RuoYi-Cloud-Vue3(Vue3 Element Plus ViteοΌ‰η‰ˆζœ¬

---
 ruoyi-ui/src/api/system/role.js |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/api/system/role.js b/ruoyi-ui/src/api/system/role.js
index adad862..b5ebdf6 100644
--- a/ruoyi-ui/src/api/system/role.js
+++ b/ruoyi-ui/src/api/system/role.js
@@ -64,3 +64,48 @@
     method: 'delete'
   })
 }
+
+// ζŸ₯θ―’θ§’θ‰²ε·²ζŽˆζƒη”¨ζˆ·εˆ—θ‘¨
+export function allocatedUserList(query) {
+  return request({
+    url: '/system/role/authUser/allocatedList',
+    method: 'get',
+    params: query
+  })
+}
+
+// ζŸ₯诒角色ζœͺζŽˆζƒη”¨ζˆ·εˆ—θ‘¨
+export function unallocatedUserList(query) {
+  return request({
+    url: '/system/role/authUser/unallocatedList',
+    method: 'get',
+    params: query
+  })
+}
+
+// ε–ζΆˆη”¨ζˆ·ζŽˆζƒθ§’θ‰²
+export function authUserCancel(data) {
+  return request({
+    url: '/system/role/authUser/cancel',
+    method: 'put',
+    data: data
+  })
+}
+
+// ζ‰Ήι‡ε–ζΆˆη”¨ζˆ·ζŽˆζƒθ§’θ‰²
+export function authUserCancelAll(data) {
+  return request({
+    url: '/system/role/authUser/cancelAll',
+    method: 'put',
+    params: data
+  })
+}
+
+// ζŽˆζƒη”¨ζˆ·ι€‰ζ‹©
+export function authUserSelectAll(data) {
+  return request({
+    url: '/system/role/authUser/selectAll',
+    method: 'put',
+    params: data
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3