From 2c947a24d56801c4c48c5d6ac7c43f1ede04d3d7 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Thu, 12 Sep 2024 15:39:47 +0800 Subject: [PATCH] feat: 大厅来访完善 --- gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx b/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx index 80d6a84..4a2727f 100644 --- a/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx +++ b/gz-customerSystem/src/views/register/eventFlow/component/Examine.jsx @@ -26,7 +26,7 @@ } function delFile(id) { - return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } }); + return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } }); } export default function Examine(props) { @@ -118,7 +118,14 @@ <Col span={24}> <div><div className="title-text">附件材料</div></div> <div style={{ color: '#1A6FB8' }}> - <img src={link} alt="" className="title-file" />{infoData?.file || '-'} + {infoData?.fileInfoList?.map(res => { + return res.fileList.map((result, resIndex) => { + return <a href="your-link-here.html" target="_blank"> + <img src={link} alt="" className="title-file" />{result.trueName} + {resIndex !== res.fileList.length - 1 && <>,</>} + </a> + }) + })} </div> </Col> <Col span={24}> -- Gitblit v1.8.0