权限重构
This commit is contained in:
@ -75,3 +75,11 @@ export function getRoleList(deptId?: number | string): AxiosPromise<any[]> {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 获取部门下的项目列表
|
||||
export function getProjectByDeptId(deptId?: number | string): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/system/dept/projectIdList/' + deptId,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user