diff --git a/src/api/system/user.ts b/src/api/system/user.ts index b3d32490..53eefcc4 100644 --- a/src/api/system/user.ts +++ b/src/api/system/user.ts @@ -36,4 +36,6 @@ export const updatePassword_api = (data: { id: string, password: string }) => se // 修改用户状态 export const changeUserStatus_api = (data: object) => server.patch(`/user`,data); // 删除用户 -export const deleteUser_api = (id: string) => server.remove(`/user/${id}`); \ No newline at end of file +export const deleteUser_api = (id: string) => server.remove(`/user/${id}`); +// 查询角色不分页 +export const queryRole_api = (data: any): Promise => server.post(`/role/_query/no-paging`, data) \ No newline at end of file diff --git a/src/views/system/Dictionary/components/Right/index.vue b/src/views/system/Dictionary/components/Right/index.vue index 9a559edb..f2f41042 100644 --- a/src/views/system/Dictionary/components/Right/index.vue +++ b/src/views/system/Dictionary/components/Right/index.vue @@ -12,7 +12,7 @@ }}
- +