下级机构查询换成info接口

This commit is contained in:
daihh
2022-11-30 17:38:26 +08:00
parent 713fab9ca5
commit 286a9a60af
3 changed files with 34 additions and 9 deletions

View File

@@ -23,6 +23,10 @@ const findOrgTreeByOrgId = function(orgId) {
return ajax.postJson(baseURL,'/org/childOrgs',{orgId});
}
const getOrgInfo = function(orgId) {
return ajax.postJson(baseURL,'/org/info',{orgId});
}
/**根据用户id获取用户的信息*/
const getUserInfoById = function(id) {
return ajax.postJson(baseURL,'/user/list',{id});
@@ -47,6 +51,7 @@ const getOrgHrbpInfo = function(orgId) {
export default {
userParentOrg,
findOrgsByKeyword,
getOrgInfo,
findOrgTreeByOrgId,
getUserInfoById,
getUserCrowds,