mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 部门管理对接完成
This commit is contained in:
@ -8,6 +8,13 @@ export function fetchGetDeptList(params?: Api.System.DeptSearchParams) {
|
||||
params
|
||||
});
|
||||
}
|
||||
/** 获取排除部门列表 */
|
||||
export function fetchGetExcludeDeptList(deptId?: CommonType.IdType) {
|
||||
return request<Api.System.Dept[]>({
|
||||
url: `/system/dept/list/exclude/${deptId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/** 新增部门 */
|
||||
export function fetchCreateDept(data: Api.System.DeptOperateParams) {
|
||||
|
@ -8,6 +8,13 @@ export function fetchGetUserList(params?: Api.System.UserSearchParams) {
|
||||
params
|
||||
});
|
||||
}
|
||||
/** 获取部门用户信息列表 */
|
||||
export function fetchGetDeptUserList(deptId: CommonType.IdType) {
|
||||
return request<Api.System.User[]>({
|
||||
url: `/system/user/list/dept/${deptId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/** 新增用户信息 */
|
||||
export function fetchCreateUser(data: Api.System.UserOperateParams) {
|
||||
|
Reference in New Issue
Block a user