This commit is contained in:
学习很差啦
2022-12-07 10:36:17 +08:00
4 changed files with 117 additions and 92 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) => {