|
@ -269,11 +269,11 @@ const UserManage = (props) => { |
|
|
<div style={{ width: '30%' }} > |
|
|
<div style={{ width: '30%' }} > |
|
|
{ |
|
|
{ |
|
|
selectedTree == id ? <> |
|
|
selectedTree == id ? <> |
|
|
<FormOutlined onClick={() => { |
|
|
{user?.username === 'SuperAdmin' ? <FormOutlined onClick={() => { |
|
|
setDepModalRecord(item) |
|
|
setDepModalRecord(item) |
|
|
setDepModalVisible(true) |
|
|
setDepModalVisible(true) |
|
|
setDepModalType('edit') |
|
|
setDepModalType('edit') |
|
|
}} /> |
|
|
}} /> : null} |
|
|
{user?.username === 'SuperAdmin' ? <Popconfirm title='是否确认删除?' onConfirm={() => { delDepartment(id) }} > |
|
|
{user?.username === 'SuperAdmin' ? <Popconfirm title='是否确认删除?' onConfirm={() => { delDepartment(id) }} > |
|
|
<DeleteOutlined style={{ marginLeft: 5 }} /> |
|
|
<DeleteOutlined style={{ marginLeft: 5 }} /> |
|
|
</Popconfirm> : ''} |
|
|
</Popconfirm> : ''} |
|
|