|
|
@ -77,7 +77,13 @@ function Approve ({ loading, clientHeight, actions, dispatch, }) { |
|
|
|
<Button type="primary" onClick={() => { |
|
|
|
setFileModal(true) |
|
|
|
}}>上传</Button> |
|
|
|
<Button type="primary">下载</Button> |
|
|
|
<Button type="primary" onClick={() => { |
|
|
|
// let fileUrlList = fileData.filter(d => fileId.current.includes(d.id))?.map(s => s.path)
|
|
|
|
|
|
|
|
// console.log(fileUrlList);
|
|
|
|
|
|
|
|
|
|
|
|
}}>下载</Button> |
|
|
|
|
|
|
|
<Popconfirm |
|
|
|
title="是否删除文件夹或文件?当有创建的业务规则与标准文档关联时则不允许删除。" |
|
|
@ -86,7 +92,7 @@ function Approve ({ loading, clientHeight, actions, dispatch, }) { |
|
|
|
if (folderId.current?.length || fileId.current?.length) { |
|
|
|
dispatch(dataQuality.postFolderFile({ folderId: folderId.current, fileId: fileId.current })).then(res => { |
|
|
|
if (res.success) { |
|
|
|
resourceData(parent,keywords) |
|
|
|
resourceData(parent, keywords) |
|
|
|
setCheckAll(false) |
|
|
|
console.log(res); |
|
|
|
res.payload.data?.map(v => { |
|
|
@ -239,7 +245,7 @@ function Approve ({ loading, clientHeight, actions, dispatch, }) { |
|
|
|
} |
|
|
|
success={ |
|
|
|
() => { |
|
|
|
resourceData(parent,keywords) |
|
|
|
resourceData(parent, keywords) |
|
|
|
} |
|
|
|
} |
|
|
|
/> : "" |
|
|
@ -252,7 +258,7 @@ function Approve ({ loading, clientHeight, actions, dispatch, }) { |
|
|
|
setFileModal(false); |
|
|
|
}} |
|
|
|
success={() => { |
|
|
|
resourceData(parent,keywords) |
|
|
|
resourceData(parent, keywords) |
|
|
|
}} |
|
|
|
remove={url => { |
|
|
|
RouteRequest.delete(RouteTable.cleanUpUploadTrash, { url: url }); |
|
|
|