Commit b664a146 by zhangleyuan

feat:处理岗位的展示

parent da5960ce
......@@ -76,7 +76,14 @@ function LeftStructureTree(props) {
<WWOpenDataCom type="userName" openid={record.userName}/>
</div>
:
<div className="search-result-item__left"><WWOpenDataCom type="departmentName" openid={record.name}/></div>
<div className="search-result-item__left">
{props.treeType === 'departMentTab' ?
<WWOpenDataCom type="departmentName" openid={record.name}/>
:
<span>{record.name}</span>
}
</div>
}
{type === 'user' && (
<div className="search-result-item__right">
......
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