|
@ -181,12 +181,18 @@ const PersonnelDistribution = (props) => { |
|
|
width: 120, |
|
|
width: 120, |
|
|
render: (text, record) => { |
|
|
render: (text, record) => { |
|
|
return <div> |
|
|
return <div> |
|
|
|
|
|
{ |
|
|
|
|
|
isAuthorized('ADDSALESPERSONNEL') || isAuthorized('IMPORTSALESPERSONNELDISTRIBUTION') ? |
|
|
|
|
|
<div> |
|
|
<span style={{ color: '#1890FF', cursor: 'pointer' }} onClick={() => onEdit(record)}>编辑</span> |
|
|
<span style={{ color: '#1890FF', cursor: 'pointer' }} onClick={() => onEdit(record)}>编辑</span> |
|
|
<Popconfirm |
|
|
<Popconfirm |
|
|
title='提示' content="确认删除该销售人员信息?" position='topLeft' |
|
|
title='提示' content="确认删除该销售人员信息?" position='topLeft' |
|
|
onConfirm={() => confirmDelete(record.pepUserId)} style={{ width: 330 }} |
|
|
onConfirm={() => confirmDelete(record.pepUserId)} style={{ width: 330 }} |
|
|
> <span style={{ color: '#1890FF', cursor: 'pointer' }}>删除</span></Popconfirm> |
|
|
> <span style={{ color: '#1890FF', cursor: 'pointer' }}>删除</span></Popconfirm> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
: "" |
|
|
|
|
|
} |
|
|
|
|
|
</div> |
|
|
} |
|
|
} |
|
|
}]; |
|
|
}]; |
|
|
|
|
|
|
|
|