diff --git a/ruoyi-ui/src/api/system/user.js b/ruoyi-ui/src/api/system/user.js
index 7f8db39ee..45d23f9be 100644
--- a/ruoyi-ui/src/api/system/user.js
+++ b/ruoyi-ui/src/api/system/user.js
@@ -18,6 +18,15 @@ export function getUser(userId) {
})
}
+// 查询用户列表根据roleId
+export function getUsersByRoleId() {
+ return request({
+ url: '/system/user/listbyroleid',
+ method: 'get'
+ })
+}
+
+
// 新增用户
export function addUser(data) {
return request({
diff --git a/ruoyi-ui/src/views/system/class/index.vue b/ruoyi-ui/src/views/system/class/index.vue
index 510456acd..83cedaa0d 100644
--- a/ruoyi-ui/src/views/system/class/index.vue
+++ b/ruoyi-ui/src/views/system/class/index.vue
@@ -21,31 +21,37 @@
/>