This commit is contained in:
qsh
2024-05-23 15:24:05 +08:00
parent 3050b9a2fe
commit 33be215c0a
11 changed files with 60 additions and 127 deletions

View File

@@ -18,7 +18,7 @@ export const getSimpleDeptList = async (): Promise<DeptVO[]> => {
}
// 查询部门列表
export const getDeptPage = async (params: PageParam) => {
export const getDeptPage = async (params) => {
return await request.get({ url: '/system/dept/list', params })
}

View File

@@ -23,7 +23,7 @@ export const getRolePage = async (params: PageParam) => {
}
// 查询角色(精简)列表
export const getSimpleRoleList = async (): Promise<RoleVO[]> => {
export const getSimpleRoleList = async () => {
return await request.get({ url: '/system/role/list-all-simple' })
}