补全缺失接口

master
paulGao 2022-12-06 16:42:32 +08:00
parent a31c7a5ad0
commit acc9a0b88a
1 changed files with 4 additions and 0 deletions

View File

@ -289,6 +289,10 @@ export const editDepartment = (ids, params) => {
export const loadDepartment = (id) => {
return getRequest(`/department/${id}`);
};
// 搜索部门
export const searchDepartment = (params) => {
return getRequest("/department", params);
};
// 通过部门获取全部角色数据
export const getUserByDepartmentId = (id, params) => {