forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-14 874ae825083ee5576c6e6cacc7cb4bba15c0077a
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
/*
 * @Company: hugeInfo
 * @Author: ldh
 * @Date: 2022-07-20 17:44:04
 * @LastEditTime: 2022-07-27 15:56:41
 * @LastEditors: ldh
 * @Version: 1.0.0
 * @Description: 调解邀请码
 */
import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col, Typography, Space } from 'antd';
import { yunVideo } from '../../../assets/images/icon';
 
const { Paragraph } = Typography;
 
const MediationCode = ({ disputeData }) => {
    return (
        <div className="mediationWindow-modal-main">
            <Row gutter={[16, 16]}>
                <Col span={6}>
                    <h5>司法确认案号</h5>
                    <div>{disputeData.caseNo}</div>
                </Col>
                <Col span={6}>
                    <h5>在线视频司法确认房间号</h5>
                    <Space>
                        <img src={yunVideo} alt="" />
                        {disputeData.meetCloud?.roomNo ? (
                            <Paragraph style={{ margin: 0 }} copyable>
                                {disputeData.meetCloud.roomNo}
                            </Paragraph>
                        ) : (
                            <div>-</div>
                        )}
                    </Space>
                </Col>
            </Row>
        </div>
    );
};
 
MediationCode.propTypes = {
    disputeData: PropTypes.object,
};
 
export default MediationCode;