补全缺失接口
parent
a31c7a5ad0
commit
acc9a0b88a
|
@ -289,6 +289,10 @@ export const editDepartment = (ids, params) => {
|
||||||
export const loadDepartment = (id) => {
|
export const loadDepartment = (id) => {
|
||||||
return getRequest(`/department/${id}`);
|
return getRequest(`/department/${id}`);
|
||||||
};
|
};
|
||||||
|
// 搜索部门
|
||||||
|
export const searchDepartment = (params) => {
|
||||||
|
return getRequest("/department", params);
|
||||||
|
};
|
||||||
|
|
||||||
// 通过部门获取全部角色数据
|
// 通过部门获取全部角色数据
|
||||||
export const getUserByDepartmentId = (id, params) => {
|
export const getUserByDepartmentId = (id, params) => {
|
||||||
|
|
Loading…
Reference in New Issue