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