import React from 'react';
import { Icon, Modal, message, Spin, Timeline, Button } from 'antd';
import { getPatentState, getTime } from '../../tools.js';
import './patent.less';
import ajax from 'jquery/src/ajax/xhr.js'
import $ from 'jquery/src/ajax';
const PatentDesc = React.createClass({
getInitialState() {
return {
visible: false,
loading: false,
stepList: []
};
},
showModal() {
this.setState({
visible: true,
});
},
handleOk() {
this.setState({
visible: false,
});
this.props.closeDesc(false);
},
getStepList(thepid) {
$.ajax({
method: "post",
dataType: "json",
crossDomain: false,
url: globalConfig.context + "/techservice/patent/patentProcess",
data: {
pid: thepid
},
success: function (data) {
if (data.error && data.error.length || !data.data) {
return;
};
let _me = this;
for (var item in data.data) {
_me.state.stepList.push(
编号:{theData.number}
申请号/专利号:{theData.patentNum}
专利名称:{theData.patentName}
专利类型:{theData.patentType}
专利状态:{theData.patentState}
专利领域:{theData.patentField}
专利稿件 {theData.confirmState == '0' ? : }
: } {theData.authorizationNoticeUrl !== null && theData.authorizationNoticeUrl !== undefined && theData.authorizationNoticeUrl !== '' ? : } {theData.patentCertificateUrl !== null && theData.patentCertificateUrl !== undefined && theData.patentCertificateUrl !== '' ? : }第一发明人:
姓名:{theData.firstInventorName}
身份证:{theData.firstInventorIdNumber}
第二发明人:
姓名:{theData.secondInventorName}
第三发明人:
姓名:{theData.thirdInventorName}