Commit 55c8a1af by zhangleyuan

feat:处理删除岗位的显示

parent e87e06c8
......@@ -276,7 +276,7 @@ function DepartMentTabCon(props) {
onChangeSelectDep={(record)=>{setSelectDep(record);}}
/>
<div className="table-con">
{props.currentTab === "departMentTab" && (
{(props.currentTab === "departMentTab" && selectDep.id !== '100') && (
<div className="operate-area">
<Button
type="primary"
......@@ -302,7 +302,7 @@ function DepartMentTabCon(props) {
props.currentTab === "customGroupTab") && (
<div className="operate-area">
{/* 岗位组和自定义分组只有岗位下和分组才展示添加学员*/}
{(selectDep.depLevel > 0 && selectDep.id!==100) &&
{(selectDep.depLevel > 0) &&
<Button
type="primary"
className="add-user-btn"
......
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