import React from 'react'; import { Icon, Modal, message, Spin, Steps } from 'antd'; import './patent.less'; const PatentDesc = React.createClass({ getInitialState() { return { visible: false, loading: false }; }, showModal() { this.setState({ visible: true, }); }, handleOk() { this.setState({ visible: false, }); this.props.closeDesc(false); }, componentWillReceiveProps(nextProps) { this.state.visible = nextProps.showDesc }, handleCancel(e) { this.setState({ visible: false, }); this.props.closeDesc(false); }, render() { const Step = Steps.Step; const theData = this.props.data; if (this.props.data) { return (

编号:{theData.number}

申请号/专利号:{theData.patentNum}

专利名称:{theData.patentName}

专利类型:{theData.patentType}

专利状态:{theData.patentState}

专利领域:{theData.patentField}

简介:{theData.patentDes}
专利相关材料:{theData.number}
专利申请日:{theData.number}
专利授权日:{theData.number}
每年年费缴费截止日:{theData.number}

第一发明人:

姓名:{theData.firstInventorName}

身份证:{theData.firstInventorIdNumber}

第二发明人:

姓名:{theData.secondInventorName}

第三发明人:

姓名:{theData.thirdInventorName}

); } else { return
} }, }); export default PatentDesc;