forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-21 530f1b3614a5d5007548680db068090f880228bf
gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx
@@ -352,9 +352,9 @@
    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)
@@ -700,9 +700,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]}
@@ -727,11 +729,14 @@
        autoFocus={false}
        focusLock={true}
        footer={null}
        unmountOnExit={true}
        maskClosable={false}
      >
        <AgentDialog
          handleAddParty={handleAddParty}
          onClose={() => setAgentVisible(false)}
          fakeData={fakeData}
          dialogType={dialogType}
        />
      </Modal>
      <Modal
@@ -760,7 +765,7 @@
                field='name'
                onChange={(e) => console.log(e.target.value, 'vvv')}
              >
                <Input placeholder='请输入' style={{ width: '510px' }} />
                <Input placeholder='请输入' style={{ width: '515px' }} />
              </FormItem>
              <Button style={{ marginRight: '20px' }}>
                重置