|
@@ -29,7 +29,7 @@ const PatentDesc = React.createClass({
|
|
method: "get",
|
|
method: "get",
|
|
dataType: "json",
|
|
dataType: "json",
|
|
crossDomain: false,
|
|
crossDomain: false,
|
|
- url: globalConfig.context + "/techservice/patent/clientPatentInfo?pid=" + thepid,
|
|
|
|
|
|
+ url: globalConfig.context + "/api/user/patent/clientPatentInfo?pid=" + thepid,
|
|
success: function (data) {
|
|
success: function (data) {
|
|
let thisData = data.data;
|
|
let thisData = data.data;
|
|
if (!thisData) {
|
|
if (!thisData) {
|
|
@@ -47,7 +47,7 @@ const PatentDesc = React.createClass({
|
|
},
|
|
},
|
|
componentWillReceiveProps(nextProps) {
|
|
componentWillReceiveProps(nextProps) {
|
|
if (nextProps.data && nextProps.data.pid !== null && !this.state.visible && nextProps.showDesc) {
|
|
if (nextProps.data && nextProps.data.pid !== null && !this.state.visible && nextProps.showDesc) {
|
|
- this.state.stepList = getStepList(nextProps.data.pid, '/techservice/patent/patentProcess');
|
|
|
|
|
|
+ this.state.stepList = getStepList(nextProps.data.pid, '/api/user/patent/patentProcess');
|
|
this.getPatentInfo(nextProps.data.pid);
|
|
this.getPatentInfo(nextProps.data.pid);
|
|
};
|
|
};
|
|
this.state.visible = nextProps.showDesc;
|
|
this.state.visible = nextProps.showDesc;
|
|
@@ -66,7 +66,7 @@ const PatentDesc = React.createClass({
|
|
method: "post",
|
|
method: "post",
|
|
dataType: "json",
|
|
dataType: "json",
|
|
crossDomain: false,
|
|
crossDomain: false,
|
|
- url: globalConfig.context + "/techservice/patent/clientConfirm",
|
|
|
|
|
|
+ url: globalConfig.context + "/api/user/patent/clientConfirm",
|
|
data: {
|
|
data: {
|
|
pid: this.props.data.pid
|
|
pid: this.props.data.pid
|
|
}
|
|
}
|
|
@@ -113,26 +113,26 @@ const PatentDesc = React.createClass({
|
|
<span>专利相关材料:</span>
|
|
<span>专利相关材料:</span>
|
|
{theData.patentWritingUrl !== null && theData.patentWritingUrl !== undefined && theData.patentWritingUrl !== '' ?
|
|
{theData.patentWritingUrl !== null && theData.patentWritingUrl !== undefined && theData.patentWritingUrl !== '' ?
|
|
<p className="download-file">
|
|
<p className="download-file">
|
|
- <a onClick={newDownloadFile.bind(this, theData.id, 'patent_writing', '/techservice/patent/download')}>{theData.patentWritingDownloadFileName}</a>
|
|
|
|
|
|
+ <a onClick={newDownloadFile.bind(this, theData.id, 'patent_writing', '/api/user/patent/download')}>{theData.patentWritingDownloadFileName}</a>
|
|
{theData.confirmState == 0 ? <Button onClick={this.confirmButton}>确认稿件</Button> : <span></span>}
|
|
{theData.confirmState == 0 ? <Button onClick={this.confirmButton}>确认稿件</Button> : <span></span>}
|
|
</p> :
|
|
</p> :
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />专利稿件未上传</p>
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />专利稿件未上传</p>
|
|
}
|
|
}
|
|
{theData.authorizationNoticeUrl !== null && theData.authorizationNoticeUrl !== undefined && theData.authorizationNoticeUrl !== '' ?
|
|
{theData.authorizationNoticeUrl !== null && theData.authorizationNoticeUrl !== undefined && theData.authorizationNoticeUrl !== '' ?
|
|
<p className="download-file">
|
|
<p className="download-file">
|
|
- <a onClick={newDownloadFile.bind(this, theData.id, 'authorization_notice', '/techservice/patent/download')}>{theData.authorizationNoticeDownloadFileName}</a>
|
|
|
|
|
|
+ <a onClick={newDownloadFile.bind(this, theData.id, 'authorization_notice', '/api/user/patent/download')}>{theData.authorizationNoticeDownloadFileName}</a>
|
|
</p> :
|
|
</p> :
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />授权通知书未上传</p>
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />授权通知书未上传</p>
|
|
}
|
|
}
|
|
{theData.patentCertificateUrl !== null && theData.patentCertificateUrl !== undefined && theData.patentCertificateUrl !== '' ?
|
|
{theData.patentCertificateUrl !== null && theData.patentCertificateUrl !== undefined && theData.patentCertificateUrl !== '' ?
|
|
<p className="download-file">
|
|
<p className="download-file">
|
|
- <a onClick={newDownloadFile.bind(this, theData.id, 'patent_certificate', '/techservice/patent/download')}>{theData.patentCertificateDownloadFileName}</a>
|
|
|
|
|
|
+ <a onClick={newDownloadFile.bind(this, theData.id, 'patent_certificate', '/api/user/patent/download')}>{theData.patentCertificateDownloadFileName}</a>
|
|
</p> :
|
|
</p> :
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />专利证书未上传</p>
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />专利证书未上传</p>
|
|
}
|
|
}
|
|
{theData.patentProryStatementUrl !== null && theData.patentProryStatementUrl !== undefined && theData.patentProryStatementUrl !== '' ?
|
|
{theData.patentProryStatementUrl !== null && theData.patentProryStatementUrl !== undefined && theData.patentProryStatementUrl !== '' ?
|
|
<p className="download-file">
|
|
<p className="download-file">
|
|
- <a onClick={newDownloadFile.bind(this, theData.id, 'patent_prory_statement', '/techservice/patent/download')}>{theData.patentProryStatementDownloadFileName}</a>
|
|
|
|
|
|
+ <a onClick={newDownloadFile.bind(this, theData.id, 'patent_prory_statement', '/api/user/patent/download')}>{theData.patentProryStatementDownloadFileName}</a>
|
|
</p> :
|
|
</p> :
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />专利代理委托书未上传</p>
|
|
<p><Icon type="exclamation-circle" style={{ color: '#ffbf00', marginRight: '6px' }} />专利代理委托书未上传</p>
|
|
}
|
|
}
|