From 27b935c319f75ee68dde68e7f666b4c3befd0ba0 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Thu, 22 Aug 2024 16:53:17 +0800 Subject: [PATCH] feat:地图弹窗 --- gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx | 56 ++++++++++++++++++++------------------------------------ 1 files changed, 20 insertions(+), 36 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx index 9391d83..cb63b27 100644 --- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx +++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx @@ -561,11 +561,12 @@ /> </FormItem> </Col> - <div style={{ marginLeft: '16px', padding: '12px 16px', backgroundColor: '#EFF8FF', borderRadius: '2px', marginTop: '4px' }}> + <div style={{ marginLeft: '16px', padding: '12px 16px', backgroundColor: '#F2F3F5', borderRadius: '2px', marginTop: '4px',display:'flex',alignItems:'center' }}> <FormItem label='是否重大矛盾纠纷' style={{ marginBottom: '-20px' }} field='isSerious' + // layout='inline' > <RadioGroup options={['否', '是']} style={{ marginBottom: 20 }} /> </FormItem> @@ -700,9 +701,11 @@ </Modal> <Modal style={{ width: '1200px' }} visible={filesCheck} onCancel={() => setFilesCheck(false)} footer={null} title='查看事件材料' centered> - <div className="mediationWindow-modal-main" style={{ display: 'flex' }}> + {/* <div className="mediationWindow-modal-main" style={{ display: 'flex' }}> */} + <div style={{ marginTop: '-16px' }}> <NewFileCheck /> </div> + {/* </div> */} </Modal> <Modal title={'添加' + peopleMap[dialogType]} @@ -712,6 +715,8 @@ autoFocus={false} focusLock={true} footer={null} + unmountOnExit={true} + maskClosable={false} > <ApplyDialog dialogType={dialogType} @@ -745,43 +750,22 @@ 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: '510px' }} /> - </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 + unmountOnExit={true} + maskClosable={false} + > + <MapView /> </Modal> </div> ) -- Gitblit v1.8.0