From c2de3e5789d088437b2c54c0da5465e34782bb22 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Thu, 29 Aug 2024 10:41:09 +0800
Subject: [PATCH] fix: 修改下拉框字段

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

diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
index 1ea16e6..95f20c8 100644
--- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -371,6 +371,7 @@
 
   //添加当事人
   const handleAddParty = (value) => {
+    console.log(value,'value1');
     if (value.id) {
       //编辑
       const newList = fakeData.map(item => {
@@ -417,7 +418,7 @@
 
       <Col span={24} style={{ display: 'flex', alignItems: 'center' }}>
         <Space size='small'>
-          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h5>当事人信息</h5>
+          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px', }}></div><h4>当事人信息</h4>
         </Space>
       </Col>
       <div style={{ margin: '16px 0' }}>
@@ -433,7 +434,7 @@
       </div>
       <Col span={24} style={{ display: 'flex', alignItems: 'center', marginBottom: '8px' }}>
         <Space size='small'>
-          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h5>纠纷基本情况</h5>
+          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>纠纷基本情况</h4>
         </Space>
       </Col>
       <Form
@@ -615,7 +616,7 @@
       </Form>
       <Col span={24} style={{ display: 'flex', alignItems: 'center', marginBottom: '8px', marginTop: '20px' }}>
         <Space size='small'>
-          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h5>事件材料</h5>
+          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>事件材料</h4>
         </Space>
       </Col>
       <TableView
@@ -702,7 +703,7 @@
       <Modal style={{ width: '512px' }} visible={upload} onCancel={() => setUpLoad(false)} footer={null} title='上传材料' centered>
         <div style={{ paddingTop: '8px' }}>
           <Row gutter={[30, 24]}>
-            {$$.options.sourceType.map((x, t) => {
+            {$$.options.fileOwnerType.map((x, t) => {
               return (
                 <Col span={12} key={t}>
                   <div
@@ -806,7 +807,12 @@
         unmountOnExit={true}
         maskClosable={false}
       >
-        <MapView />
+        <MapView
+          selectAdd={(value) => {
+            props.formRef.current.setFieldValue('disputeAddress', value)
+            setMapView(false)
+          }}
+        />
       </Modal>
       <MattersDetail
         visible={visible}

--
Gitblit v1.8.0