|
@@ -123,8 +123,8 @@ const PatentDesc = React.createClass({
|
|
|
)
|
|
|
});
|
|
|
},
|
|
|
- downloadPic(type) {
|
|
|
- window.open(globalConfig.context + "/open/downLoadPicture?path=" + type)
|
|
|
+ downloadFile(url, type) {
|
|
|
+ window.open(globalConfig.context + "/techservice/patent/downloadFile?path=" + url + "&sign=" + type)
|
|
|
},
|
|
|
showModal() {
|
|
|
this.setState({
|
|
@@ -180,8 +180,8 @@ const PatentDesc = React.createClass({
|
|
|
},
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
let _me = this;
|
|
|
- this.state.patentStateAdd ='';
|
|
|
- this.state.adminName ='';
|
|
|
+ this.state.patentStateAdd = '';
|
|
|
+ this.state.adminName = '';
|
|
|
this.state.recordTime = '';
|
|
|
this.state.adminOption = [];
|
|
|
this.state.patentProcessList = [];
|
|
@@ -229,7 +229,7 @@ const PatentDesc = React.createClass({
|
|
|
]}
|
|
|
className="patent-desc-content">
|
|
|
<div>
|
|
|
- <p className="widthHalf"><span>公司名称:</span>{theData.companyName}</p>
|
|
|
+ <p className="widthHalf"><span>公司名称:</span>{theData.unitName}</p>
|
|
|
<p className="widthHalf"><span>公司组织机构代码:</span>{theData.companyNum}</p>
|
|
|
</div>
|
|
|
<div>
|
|
@@ -277,10 +277,41 @@ const PatentDesc = React.createClass({
|
|
|
<p className="widthThird"><span>国籍:</span>中国</p>
|
|
|
</div>
|
|
|
<div className="clearfix">
|
|
|
- <p>材料管理:
|
|
|
- <span>{theData.patentProryStatementUrl !== null ? <a onClick={this.downloadPic.bind(this, theData.patentProryStatementUrl)}>专利代理委托书</a> : ""}</span>
|
|
|
- <span>{theData.lastYearTaxReportUrl !== null ? <a onClick={this.downloadPic.bind(this, theData.lastYearTaxReportUrl)}>上年度纳税表</a> : ""}</span>
|
|
|
- </p>
|
|
|
+ <div>材料管理:
|
|
|
+ {theData.patentWritingUrl !== null && theData.patentWritingUrl !== undefined && theData.patentWritingUrl !== '' ?
|
|
|
+ <p className="download-file">
|
|
|
+ <a href="" onClick={this.downloadFile.bind(this, theData.patentWritingUrl, "patent_writing")}>专利稿件</a>
|
|
|
+ {theData.confirmState == '0' ?
|
|
|
+ <Button onClick={this.confirmButton}>确认稿件</Button> : <span></span>
|
|
|
+ }
|
|
|
+ </p> :
|
|
|
+ <span></span>
|
|
|
+ }
|
|
|
+ {theData.authorizationNoticeUrl !== null && theData.authorizationNoticeUrl !== undefined && theData.authorizationNoticeUrl !== '' ?
|
|
|
+ <p className="download-file">
|
|
|
+ <a href="" onClick={this.downloadFile.bind(this, theData.authorizationNoticeUrl, "authorization_notice")}>授权通知书</a>
|
|
|
+ </p> :
|
|
|
+ <span></span>
|
|
|
+ }
|
|
|
+ {theData.patentCertificateUrl !== null && theData.patentCertificateUrl !== undefined && theData.patentCertificateUrl !== '' ?
|
|
|
+ <p className="download-file">
|
|
|
+ <a href="" onClick={this.downloadFile.bind(this, theData.patentCertificateUrl, "patent_certificate")}>专利证书</a>
|
|
|
+ </p> :
|
|
|
+ <span></span>
|
|
|
+ }
|
|
|
+ {theData.patentProryStatementUrl !== null && theData.patentProryStatementUrl !== undefined && theData.patentProryStatementUrl !== '' ?
|
|
|
+ <p className="download-file">
|
|
|
+ <a href="" onClick={this.downloadFile.bind(this, theData.patentProryStatementUrl, "patent_prory_statement")}>专利代理委托书</a>
|
|
|
+ </p> :
|
|
|
+ <span></span>
|
|
|
+ }
|
|
|
+ {theData.lastYearTaxReportUrl !== null && theData.lastYearTaxReportUrl !== undefined && theData.lastYearTaxReportUrl !== '' ?
|
|
|
+ <p className="download-file">
|
|
|
+ <a href="" onClick={this.downloadFile.bind(this, theData.lastYearTaxReportUrl, "last_year_taxReport")}>专利代理委托书</a>
|
|
|
+ </p> :
|
|
|
+ <span></span>
|
|
|
+ }
|
|
|
+ </div>
|
|
|
<Avatar urlData={this.getPatentWritingUrl} name='patent_writing' oid={theData.oid}/>
|
|
|
<Avatar urlData={this.getAuthorizationNoticeUrl} name='authorization_notice' oid={theData.oid}/>
|
|
|
<Avatar urlData={this.getPatentCertificateUrl} name='patent_certificate' oid={theData.oid}/>
|