|
@@ -360,17 +360,17 @@ const Patent = React.createClass({
|
|
|
},
|
|
|
exportComposite() {
|
|
|
window.open(globalConfig.context + "/api/admin/patent/exportComposite" +
|
|
|
- "?" + "serialNumber" + "=" + this.state.number +
|
|
|
- "&" + "patentNumber" + "=" + this.state.patentNumber +
|
|
|
- "&" + "patentName" + "=" + this.state.patentName +
|
|
|
- "&" + "locationProvince" + "=" + this.state.province +
|
|
|
- "&" + "uid" + "=" + this.state.unitId +
|
|
|
- "&" + "uid" + "=" + this.state.contractId +
|
|
|
- "&" + "patentCatagory" + "=" + this.state.patentCatagory +
|
|
|
- "&" + "patentState" + "=" + this.state.patentState +
|
|
|
- "&" + "createTime" + "=" + this.state.createTime +
|
|
|
- "&" + "patentApplicationDate" + "=" + this.state.acceptTime +
|
|
|
- "&" + "author" + "=" + this.state.author);
|
|
|
+ "?" + "serialNumber" + "=" + (this.state.number || null) +
|
|
|
+ "&" + "patentNumber" + "=" + (this.state.patentNumber || null) +
|
|
|
+ "&" + "patentName" + "=" + (this.state.patentName || null) +
|
|
|
+ "&" + "locationProvince" + "=" + (this.state.province || null) +
|
|
|
+ "&" + "uid" + "=" + (this.state.unitId || null) +
|
|
|
+ "&" + "uid" + "=" + (this.state.contractId || null) +
|
|
|
+ "&" + "patentCatagory" + "=" + (this.state.patentCatagory || null) +
|
|
|
+ "&" + "patentState" + "=" + (this.state.patentState || null) +
|
|
|
+ "&" + "createTime" + "=" + (this.state.createTime || null) +
|
|
|
+ "&" + "patentApplicationDate" + "=" + (this.state.acceptTime || null) +
|
|
|
+ "&" + "author" + "=" + (this.state.author || null));
|
|
|
},
|
|
|
searchSwitch() {
|
|
|
this.setState({
|