| | |
| | | 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> |
| | |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <AgentDialog |
| | | handleAddParty={handleAddParty} |
| | | onClose={() => setAgentVisible(false)} |
| | | fakeData={fakeData} |
| | | dialogType={dialogType} |
| | | /> |
| | | </Modal> |
| | | <Modal |