From ae1ed54b82a951a28da33391d4445280f86e9f7b Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Wed, 11 Sep 2024 09:55:48 +0800
Subject: [PATCH] fix: bug
---
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