系统管理/部门管理角色管理用户管理
This commit is contained in:
@ -56,3 +56,14 @@ export function delPost(postId: string | number | (string | number)[]) {
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
// 获取岗位选择框列表
|
||||
export function getRoleList(deptId?: number | string): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/system/role/listNoPage',
|
||||
method: 'get',
|
||||
params: {
|
||||
deptId
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user