Commit 3614abf9 by zhangleyuan

Merge branch 'feature/zhangleyuan/20210719/personnel-organization' into rc

parents bedf6528 46b4d2c2
......@@ -71,13 +71,13 @@ function LeftStructureTree(props) {
:
<div><WWOpenDataCom type="departmentName" openid={record.name}/></div>
}
{type === 'user' &&
{type === 'group' &&
record.postDepNamesList.map((item,index)=>{
return <span><WWOpenDataCom type="departmentName" openid={item}/></span>
})
}
{type === 'post' &&
<span>{record.parentName}</span>
<span type='post'>{record.parentName}</span>
}
</div>
),
......
......@@ -243,7 +243,7 @@ class NewChooseMembersModal extends React.Component {
params.nowDepType = this.props.addDepType;
}
if(this.props.selectDep){
params.nowDepType = this.props.selectDep.id;
params.departmentId = this.props.selectDep.id;
}
StoreService.getDepartmentUser(params).then((res) => {
const { result = {}} = res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment