|
@ -128,11 +128,7 @@ const DepartmentTrainRecord = (props) => { |
|
|
render: (text, record) => { |
|
|
render: (text, record) => { |
|
|
if (record.origin === 'import') |
|
|
if (record.origin === 'import') |
|
|
return <div> |
|
|
return <div> |
|
|
<span style={{ color: '#1890FF', cursor: 'pointer' }} onClick={() => onEdit(record)}>编辑</span> |
|
|
<span style={{ color: '#1890FF', cursor: 'pointer' }} onClick={() => onEdit(record)}>编辑</span> |
|
|
{/* <Popconfirm |
|
|
|
|
|
title='提示' content="确认删除该部门培训记录信息?" position='topLeft' |
|
|
|
|
|
onConfirm={() => confirmDelete(record.id)} style={{ width: 330 }} |
|
|
|
|
|
> <span style={{ color: '#1890FF', cursor: 'pointer' }}>删除</span></Popconfirm> */} |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
else |
|
|
else |
|
|
return <span>-</span> |
|
|
return <span>-</span> |
|
|