From 678b15974cf4dd0eb130b2677b8a992358b6152f Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Wed, 11 Sep 2024 11:11:17 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master

---
 gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
index 1b0e3c8..b561dac 100644
--- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -183,6 +183,7 @@
         initialValues={{
           caseLevel: 3,
           visitTime: getFormattedDateTime(),
+          occurTime: getFormattedDateTime(),
           majorStatus: 0,
         }}//默认值
       >
@@ -331,7 +332,7 @@
                 </Tooltip>
                 <div className="must" style={{ marginLeft: '4px' }}>必填</div>
                 <img src={scan} alt="" style={{ marginRight: '-2px', marginLeft: '8px' }} />
-                <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => { setScanFile(true); setOcrText('caseDes') }}>识别上传材料</div>
+                <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => { setScanFile(true); setOcrText('caseDes') }}>识别材料</div>
               </div>
               }
               field='caseDes'
@@ -355,7 +356,7 @@
                 </Tooltip> */}
                 <div className="must">必填</div>
                 <img src={scan} alt="" style={{ marginRight: '-2px', marginLeft: '8px' }} />
-                <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => { setScanFile(true); setOcrText('caseClaim') }}>识别上传材料</div>
+                <div style={{ marginLeft: '8px', color: '#1A6FB8', fontSize: '14px', cursor: 'pointer' }} onClick={() => { setScanFile(true); setOcrText('caseClaim') }}>识别材料</div>
               </div>
               }
               field='caseClaim'
@@ -392,7 +393,14 @@
         </Space>
       </Col>
       <div style={{ marginBottom: '65px' }}>
-        <FileTable mainId={props.mainId} fileInfoList={props.fileInfoList} isReview={false} />
+        <FileTable
+          mainId={props.mainId}
+          fileInfoList={props.fileInfoList}
+          isReview={false}
+          handleSaveList={(list) => {
+            props.formRef.current.setFieldValue('fileInfoList', list)
+          }}
+        />
       </div>
       <DocumentScanner
         visible={scanFile}

--
Gitblit v1.8.0