Commit 49ea19f2 by zhangleyuan

feat:处理员工选择

parent 2666149d
...@@ -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