This commit is contained in:
黄心宇 2023-07-25 17:02:01 +08:00
parent cdea61f3b4
commit 61bc6934a3
3 changed files with 12 additions and 7 deletions

View File

@ -114,7 +114,7 @@ export default Form.create()(({ form, history, showNotification }) => {
},
{
title: '胜出者姓名',
dataIndex: 'winnerName',
dataIndex: 'winnerUserName',
},
{
title: '协议',

View File

@ -160,8 +160,8 @@ export default Form.create()(({ current_user, form, showNotification, match, his
return record.signatureFormUnsignedFile ?
<div>
<Icon type="file" /> { record.signatureFormUnsignedFile.fileName }
<a href={ record.signatureFormUnsignedFile.fileDownloadPath } target="_blank" download={ record.signatureFormUnsignedFile.fileName } className="ml10">下载</a>
<a href={`${ httpUrl }/busiAttachments/view/${ record.signatureFormUnsignedFile.id }`} target="_blank" className="ml10">预览</a>
<a href={`${ httpUrl }/busiAttachments/downloadAttachment/${ record.signatureFormUnsignedFile.uniqueFileName }`} target="_blank" download={ record.signatureFormUnsignedFile.fileName } className="ml10">下载</a>
<a href={`${ httpUrl }/busiAttachments/viewAttachment/${ record.signatureFormUnsignedFile.uniqueFileName }`} target="_blank" className="ml10">预览</a>
</div>
: '-'
}
@ -173,15 +173,15 @@ export default Form.create()(({ current_user, form, showNotification, match, his
return record.agreementFile ?
<div>
<Icon type="file" /> { record.agreementFile.fileName }
<a href={ record.agreementFile.fileDownloadPath } target="_blank" download={ record.agreementFile.fileName } className="ml10">下载</a>
<a href={`${ httpUrl }/busiAttachments/view/${ record.agreementFile.id }`} target="_blank" className="ml10">预览</a>
<a href={`${ httpUrl }/busiAttachments/downloadAttachment/${ record.agreementFile.uniqueFileName }`} target="_blank" download={ record.agreementFile.fileName } className="ml10">下载</a>
<a href={`${ httpUrl }/busiAttachments/viewAttachment/${ record.agreementFile.uniqueFileName }`} target="_blank" className="ml10">预览</a>
</div>
: '-'
}
},
{
title: '审核时间',
dataIndex: 'createdAt',
dataIndex: 'firstDraftCheckTime',
},
{
title: '操作',
@ -193,10 +193,11 @@ export default Form.create()(({ current_user, form, showNotification, match, his
{record.firstDraftCheckStatus === 0 && <span className="spanTitle color-red fl ml20">未通过</span>}
{
record.firstDraftCheckStatus === 2 && <React.Fragment>
( record.firstDraftCheckStatus === 2 && record.signatureFormUnsignedFile && record.agreementFile ) ? <React.Fragment>
<Button type="primary" className="mr20" onClick={() => { agreeClick(record) }} >同意</Button>
<Button onClick={() => { refuseClick(record) }} >驳回</Button>
</React.Fragment>
: <span>暂未上传文件</span>
}
</span>
</React.Fragment>

View File

@ -109,6 +109,10 @@ export default Form.create()(({ current_user, form, showNotification, match, his
title: '任务名称',
dataIndex: 'taskName',
},
{
title: '胜出者姓名',
dataIndex: 'winnerUserName',
},
{
title: '发布主体',
dataIndex: 'publisher',