| | |
| | | return `${year}-${month}-${day} ${hours}:${minutes}`; |
| | | } |
| | | |
| | | //添加申请人: 0、被申请人: 1、代理人: 2 |
| | | //添加申请人: 0、被申请人: 1、申请代理人: 2、被申请代理人:3 |
| | | const handleAdd = (type) => { |
| | | if (type === 2) { |
| | | if (type === 2 || type === 3) { |
| | | setAgentVisible(true) |
| | | } else { |
| | | setAddVisabled(true) |
| | |
| | | /> |
| | | </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> |
| | |
| | | </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> */} |
| | |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <ApplyDialog |
| | | dialogType={dialogType} |
| | |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <AgentDialog |
| | | handleAddParty={handleAddParty} |
| | | onClose={() => setAgentVisible(false)} |
| | | fakeData={fakeData} |
| | | dialogType={dialogType} |
| | | /> |
| | | </Modal> |
| | | <Modal |
| | |
| | | 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 |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <MapView /> |
| | | </Modal> |
| | | </div> |
| | | ) |