|
@ -59,9 +59,11 @@ const ResourceRepository = (props) => { |
|
|
<a href={'/_file-server/' + record.attachPath + '?filename=' + encodeURIComponent(record.fileName + record.fileType)}>下载</a> |
|
|
<a href={'/_file-server/' + record.attachPath + '?filename=' + encodeURIComponent(record.fileName + record.fileType)}>下载</a> |
|
|
{currentSelect.includes("公司培训资料") && |
|
|
{currentSelect.includes("公司培训资料") && |
|
|
<Popconfirm |
|
|
<Popconfirm |
|
|
|
|
|
style={{ minWidth: "max-content" }} |
|
|
title="提示" |
|
|
title="提示" |
|
|
content="确认删除该文件?" |
|
|
content="确认删除该文件?" |
|
|
onConfirm={() => { handleDelFile(record.id) }} |
|
|
onConfirm={() => { handleDelFile(record.id) }} |
|
|
|
|
|
position={"leftBottom"} |
|
|
> |
|
|
> |
|
|
<a style={{ cursor: 'pointer' }}>删除</a> |
|
|
<a style={{ cursor: 'pointer' }}>删除</a> |
|
|
</Popconfirm>} |
|
|
</Popconfirm>} |
|
|