|
|
@ -59,9 +59,11 @@ const ResourceRepository = (props) => { |
|
|
|
<a href={'/_file-server/' + record.attachPath + '?filename=' + encodeURIComponent(record.fileName + record.fileType)}>下载</a> |
|
|
|
{currentSelect.includes("公司培训资料") && |
|
|
|
<Popconfirm |
|
|
|
style={{ minWidth: "max-content" }} |
|
|
|
title="提示" |
|
|
|
content="确认删除该文件?" |
|
|
|
onConfirm={() => { handleDelFile(record.id) }} |
|
|
|
position={"leftBottom"} |
|
|
|
> |
|
|
|
<a style={{ cursor: 'pointer' }}>删除</a> |
|
|
|
</Popconfirm>} |
|
|
@ -281,7 +283,9 @@ const ResourceRepository = (props) => { |
|
|
|
onChange={(data) => { setDataRange(data) }} |
|
|
|
onClear={() => { setDataRange(null) }} |
|
|
|
/> |
|
|
|
<Button onClick={handleSearch}>搜索</Button> |
|
|
|
<Button theme='solid' type='primary' style={{ width: 80, borderRadius: 2, height: 32, background: '#DBECFF', color: '#005ABD' }} |
|
|
|
onClick={() => handleSearch()} |
|
|
|
>查询</Button> |
|
|
|
</Space> |
|
|
|
</Row> |
|
|
|
<Table |
|
|
|