广州市综治平台前端
xusd
1 days ago e8071c7d6f7aa6ac0d5522c59a52ee5e187a4b16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import React, { Fragment, useState } from 'react';
import { Row, Col, Space } from 'antd';
import {  } from '@/assets/images';
import NameCard2 from '@/components/NameCard2';
import PersonCard from './personCard';
 
export default function RegisInfoModule(props) {
  const [personView, setPersonView] = useState(false)
  const [personId, setPersonId] = useState('')
 
  const handlePersonDetail = (id) => {
    setPersonId(id)
    setPersonView(true)
  }
 
  return (
    <Fragment>
      <Col span={24} style={{ display: 'flex', alignItems: 'center', margin: '12px 0px 4px 0px' }}>
        <Space size='small'>
          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>登记信息</h4>
        </Space>
      </Col>
      <Row gutter={[16, 16]} >
        <Col span={8}>
          <div className="title">
            <div className="title-text">登记机构</div>
          </div>
          <div>{props.caseInfo?.inputUnitName || '-'}</div>
        </Col>
        <Col span={8}>
          <div className="title">
            <div className="title-text">登记人</div>
          </div>
          <div>
            <NameCard2 name={props.caseInfo?.inputUserName} userId={props.caseInfo?.inputUserId} />
          </div>
        </Col>
        <Col span={8}>
          <div className="title">
            <div className="title-text">登记时间</div>
          </div>
          <div>{props.caseInfo?.createTime || '-'}</div>
        </Col>
      </Row>
      <PersonCard personView={personView} handleCancel={() => setPersonView(false)} personId={personId} />
    </Fragment>
  )
}