Commit 41fa2160 by zhangleyuan

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

parents 0bfcc37b 241f9909
...@@ -85,7 +85,8 @@ function LeftStructureTree(props) { ...@@ -85,7 +85,8 @@ function LeftStructureTree(props) {
</AutoComplete> </AutoComplete>
); );
function confirmSearchSelect(value){ function confirmSearchSelect(value,option){
console.log('option',option);
setOpen(false); setOpen(false);
setQueryName(value); setQueryName(value);
props.searchUserList({queryName:value},treeType,1); props.searchUserList({queryName:value},treeType,1);
......
...@@ -27,7 +27,7 @@ function MemberTree(props) { ...@@ -27,7 +27,7 @@ function MemberTree(props) {
params.departmentId = props.departmentId; params.departmentId = props.departmentId;
} }
if(props.nowTreeDepType){ if(props.nowTreeDepType){
params.nowTreeDepType = props.nowTreeDepType; params.nowDepType = props.nowTreeDepType;
} }
StoreService.getDepartmentUserNotPage(params).then((res) => { StoreService.getDepartmentUserNotPage(params).then((res) => {
let { departmentVOList=[]} = res.result; let { departmentVOList=[]} = res.result;
......
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