correspondingDetails.jsx 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. import React,{Component} from "react";
  2. import {Modal, Table, Tooltip} from "antd";
  3. class CorrespondingDetails extends Component{
  4. constructor(props) {
  5. super(props);
  6. this.state={
  7. columns:[
  8. {
  9. title: "申报项目",
  10. dataIndex: "project",
  11. key: "project",
  12. },
  13. {
  14. title: "咨询师",
  15. dataIndex: "consultant",
  16. key: "consultant",
  17. },
  18. {
  19. title: "申报批次",
  20. dataIndex: "declareBatch",
  21. key: "declareBatch",
  22. },
  23. {
  24. title: "证书编号",
  25. dataIndex: "certificationNo",
  26. key: "certificationNo",
  27. },
  28. ]
  29. }
  30. }
  31. render() {
  32. return (
  33. <Modal
  34. className="customeDetails"
  35. footer=""
  36. title='申报项目对应列表'
  37. width="800px"
  38. visible={this.props.visible}
  39. onOk={this.props.onCancel}
  40. onCancel={this.props.onCancel}
  41. maskClosable={false}
  42. >
  43. <div>
  44. <Table
  45. columns={this.state.columns}
  46. dataSource={this.props.detailsInfor || []}
  47. pagination={null}
  48. />
  49. </div>
  50. </Modal>
  51. )
  52. }
  53. }
  54. export default CorrespondingDetails;