广州市综治平台前端
xusd
7 days ago 544148eddae96db824423cd059ebecb9d13c392e
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
49
50
/*
 * @Company: hugeInfo
 * @Author: lwh
 * @Date: 2025-01-24 10:06:45
 * @LastEditTime: 2025-04-21 19:02:53
 * @LastEditors: lwh
 * @Version: 1.0.0
 * @Description:
 */
import React, { Fragment } from 'react';
import { Row, Col, Space } from 'antd';
import PreviewImage from '@/components/PreviewImage';
import MyPDF from '@/components/MyPDF';
 
export default function RegisInfoModule(props) {
    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={24}>
                    <div className="title">
                        <div className="title-text">不予受理理由</div>
                    </div>
                    <div>{props.dismissData?.disContent || '-'}</div>
                </Col>
                <Col span={24}>
                    <div className="title">
                        <div className="title-text">附件材料</div>
                    </div>
                    <div style={{ color: '#1A6FB8' }}>
                        {props.dismissData?.fileInfoList?.map((result, resIndex) => {
                            return (
                                <div style={{ display: 'inline-block' }}>
                                    <MyPDF name={result.name} fileUrl={result.showUrl} fileType={result.suffix} />
                                    {/* <PreviewImage name={result.name} src={result.showUrl} /> */}
                                    {resIndex !== props.dismissData?.fileInfoList?.length - 1 && <>,</>}
                                </div>
                            );
                        }) || '-'}
                    </div>
                </Col>
            </Row>
        </Fragment>
    );
}