Browse Source

(*)去掉无用代码

master
zmh 2 years ago
parent
commit
aa45b9c350
  1. 6
      web/client/src/sections/humanAffairs/containers/departmentTrain/departmentTrainRecord.jsx

6
web/client/src/sections/humanAffairs/containers/departmentTrain/departmentTrainRecord.jsx

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

Loading…
Cancel
Save