Commit afb1cf58 by zhangleyuan

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

parents e08b7a4a 49ea19f2
...@@ -245,6 +245,12 @@ class NewChooseMembersModal extends React.Component { ...@@ -245,6 +245,12 @@ class NewChooseMembersModal extends React.Component {
const { selectUserList } = this.state; const { selectUserList } = this.state;
if(type==='user'){ if(type==='user'){
this.setState({selectUserList:[...selectUserList,...record]}); this.setState({selectUserList:[...selectUserList,...record]});
}else{
let _list = [];
if(record.departmentUserVOList){
_list = record.departmentUserVOList;
}
this.setState({selectUserList:[...selectUserList,_list]});
} }
// }else{ // }else{
// const params = { // const params = {
......
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