From 3afcac7c712daadded9e7900635f2409c14f3888 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Wed, 27 Sep 2023 16:31:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user.ts | 4 +++- .../Dictionary/components/Right/index.vue | 10 +++++--- src/views/system/User/index.vue | 23 ++++++++++++++++++- 3 files changed, 32 insertions(+), 5 deletions(-) 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 @@ }}
- +