Commit cc13e536 by zhangleyuan

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

parents 3564bf1d 7b9d9c1d
...@@ -276,8 +276,9 @@ function DepartMentTabCon(props) { ...@@ -276,8 +276,9 @@ function DepartMentTabCon(props) {
onChangeSelectDep={(record)=>{setSelectDep(record);}} onChangeSelectDep={(record)=>{setSelectDep(record);}}
/> />
<div className="table-con"> <div className="table-con">
{(props.currentTab === "departMentTab" && selectDep.id !== '100') && ( {props.currentTab === "departMentTab" && (
<div className="operate-area"> <div className="operate-area">
{ selectDep.id !== '100' &&
<Button <Button
type="primary" type="primary"
className="add-user-btn" className="add-user-btn"
...@@ -287,7 +288,10 @@ function DepartMentTabCon(props) { ...@@ -287,7 +288,10 @@ function DepartMentTabCon(props) {
> >
添加学员 添加学员
</Button> </Button>
}
<Button className="del-user-btn" onClick={()=>delUser('multiple')}>删除学员</Button> <Button className="del-user-btn" onClick={()=>delUser('multiple')}>删除学员</Button>
{ selectDep.id !== '100' &&
<>
<Button className="update-user-btn" onClick={()=>{updateListData()}}>更新列表数据</Button> <Button className="update-user-btn" onClick={()=>{updateListData()}}>更新列表数据</Button>
<span className="origin-text">数据来源企业微信通讯录</span> <span className="origin-text">数据来源企业微信通讯录</span>
<a <a
...@@ -296,6 +300,8 @@ function DepartMentTabCon(props) { ...@@ -296,6 +300,8 @@ function DepartMentTabCon(props) {
> >
<span className="view-text">查看数据更新说明</span> <span className="view-text">查看数据更新说明</span>
</a> </a>
</>
}
</div> </div>
)} )}
{(props.currentTab === "postGrouptab" || {(props.currentTab === "postGrouptab" ||
......
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