From 285c372ff89f2a2ca57e5c957540967526e15c04 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Tue, 10 Sep 2024 16:55:36 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh

---
 gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
index 82cf116..305c8c3 100644
--- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -49,8 +49,7 @@
   }, [fakeData])
 
   useEffect(() => {
-    console.log(props.partyList);
-    setFakeData(props.partyList.map(item => {
+    setFakeData(props.partyList?.map(item => {
       const fileInfoList = item.fileInfoList
       let file = [];//身份证明材料、企业登记材料
       let file1 = [];//法人、机构身份证明材料、代理人授权委托书
@@ -75,7 +74,7 @@
         file,
         file1
       }
-    }))
+    }) || [])
   }, [props.partyList])
 
   //获取当前时间
@@ -391,7 +390,10 @@
           <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>事件材料</h4>
         </Space>
       </Col>
-      <FileTable mainId={props.mainId} />
+      <div style={{ marginBottom: '65px' }}>
+        <FileTable mainId={props.mainId} fileInfoList={props.fileInfoList} isReview={false} />
+      </div>
+
 
       <DocumentScanner
         visible={scanFile}

--
Gitblit v1.8.0