1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import React,{Component} from "react";
- import {Modal, Table, Tooltip} from "antd";
- class CorrespondingDetails extends Component{
- constructor(props) {
- super(props);
- this.state={
- columns:[
- {
- title: "申报项目",
- dataIndex: "project",
- key: "project",
- },
- {
- title: "咨询师",
- dataIndex: "consultant",
- key: "consultant",
- },
- {
- title: "申报批次",
- dataIndex: "declareBatch",
- key: "declareBatch",
- },
- {
- title: "证书编号",
- dataIndex: "certificationNo",
- key: "certificationNo",
- },
- ]
- }
- }
- render() {
- return (
- <Modal
- className="customeDetails"
- footer=""
- title='申报项目对应列表'
- width="800px"
- visible={this.props.visible}
- onOk={this.props.onCancel}
- onCancel={this.props.onCancel}
- maskClosable={false}
- >
- <div>
- <Table
- bordered
- columns={this.state.columns}
- dataSource={this.props.detailsInfor || []}
- pagination={false}
- />
- </div>
- </Modal>
- )
- }
- }
- export default CorrespondingDetails;
|