correspondingDetails.jsx 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. bordered
  46. columns={this.state.columns}
  47. dataSource={this.props.detailsInfor || []}
  48. pagination={false}
  49. />
  50. </div>
  51. </Modal>
  52. )
  53. }
  54. }
  55. export default CorrespondingDetails;