From 0ee05af293847f16967b0fc6c5139aaf50c8be3a Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Thu, 22 Aug 2024 14:15:16 +0800
Subject: [PATCH] feat: 地图

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

diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
index 432d9bd..6c0faea 100644
--- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
+++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -701,7 +701,7 @@
       </Modal>
       <Modal style={{ width: '1200px' }} visible={filesCheck} onCancel={() => setFilesCheck(false)} footer={null} title='查看事件材料' centered>
         {/* <div className="mediationWindow-modal-main" style={{ display: 'flex' }}> */}
-        <div style={{marginTop:'-16px'}}>
+        <div style={{ marginTop: '-16px' }}>
           <NewFileCheck />
         </div>
         {/* </div> */}
@@ -714,6 +714,8 @@
         autoFocus={false}
         focusLock={true}
         footer={null}
+        unmountOnExit={true}
+        maskClosable={false}
       >
         <ApplyDialog
           dialogType={dialogType}
@@ -747,43 +749,20 @@
         autoFocus={false}
         focusLock={true}
         footer={null}
+        unmountOnExit={true}
+        maskClosable={false}
       >
         <DetailDialog />
       </Modal>
-      <Modal style={{ width: '1200px' }} visible={mapView} onCancel={() => setMapView(false)} footer={null} title='选择纠纷发生地' centered>
-        <Row gutter={[16, 0]}>
-          <Col span={16}>
-            <Form
-              ref={formRef}
-              requiredSymbol={false}
-              layout='inline'
-              {...formItemLayout}
-              style={{ marginBottom: '8px' }}
-            >
-              <FormItem
-                label='查询位置:'
-                field='name'
-                onChange={(e) => console.log(e.target.value, 'vvv')}
-              >
-                <Input placeholder='请输入' style={{ width: '515px' }} />
-              </FormItem>
-              <Button style={{ marginRight: '20px' }}>
-                重置
-              </Button>
-              <Button
-                type="primary"
-              // onClick={handleSave}
-              >
-                查询
-              </Button>
-            </Form>
-            <MapView />
-          </Col>
-          <Col span={8}>
-            <div style={{ color: '#86909C', marginTop: '43px' }}>附近地址</div>
-          </Col>
-
-        </Row>
+      <Modal
+        style={{ width: '1200px' }}
+        visible={mapView}
+        onCancel={() => setMapView(false)}
+        footer={null}
+        title='选择纠纷发生地'
+        centered
+      >
+        <MapView />
       </Modal>
     </div>
   )

--
Gitblit v1.8.0