diff --git a/src/api/system/permission/index.ts b/src/api/system/permission/index.ts index e1f25df8..52d61ff2 100644 --- a/src/api/system/permission/index.ts +++ b/src/api/system/permission/index.ts @@ -37,6 +37,6 @@ export function listUserRoles(userId: number) { } // 赋予用户角色 -export function aassignUserRole(data: PermissionAssignUserRoleReqVO) { +export function assignUserRole(data: PermissionAssignUserRoleReqVO) { return defHttp.post({ url: '/system/permission/assign-user-role', data }) } diff --git a/src/views/system/user/UserRoleModal.vue b/src/views/system/user/UserRoleModal.vue new file mode 100644 index 00000000..de41cfca --- /dev/null +++ b/src/views/system/user/UserRoleModal.vue @@ -0,0 +1,44 @@ + + diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 08321707..ed7ccddb 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -14,7 +14,21 @@