|
@@ -57,7 +57,7 @@ const Content = React.createClass({
|
|
|
this.state.budgetCostUpper = null;
|
|
|
this.state.sign = 0;
|
|
|
break;
|
|
|
- }
|
|
|
+ };
|
|
|
$.ajax({
|
|
|
method: "get",
|
|
|
dataType: "json",
|
|
@@ -69,7 +69,7 @@ const Content = React.createClass({
|
|
|
demandType: this.state.demandType == 999 ? null : this.state.demandType,
|
|
|
budgetCostLower: this.state.budgetCostLower, //交易金额下限
|
|
|
budgetCostUpper: this.state.budgetCostUpper, //交易金额上限
|
|
|
- industryCategoryA: this.state.fieldA, //技术领域(行业类别A)
|
|
|
+ industryCategoryA: this.state.fieldA || null, //技术领域(行业类别A)
|
|
|
industryCategoryB: this.state.fieldB == 999 ? null : this.state.fieldB, //技术领域(行业类别B)
|
|
|
sign: this.state.sign
|
|
|
},
|
|
@@ -79,6 +79,7 @@ const Content = React.createClass({
|
|
|
if (data.error && data.error.length) {
|
|
|
message.warning(data.error[0].message);
|
|
|
};
|
|
|
+ data.data = {};
|
|
|
} else {
|
|
|
for (let i = 0; i < data.data.list.length; i++) {
|
|
|
let thisdata = data.data.list[i];
|
|
@@ -124,7 +125,10 @@ const Content = React.createClass({
|
|
|
loading: false,
|
|
|
showDesc: false,
|
|
|
industryRadioB: [],
|
|
|
+ sign: 0,
|
|
|
budgetCost: 999,
|
|
|
+ budgetCostLower: null,
|
|
|
+ budgetCostUpper: null,
|
|
|
pagination: {
|
|
|
pageNo: 1,
|
|
|
pageSize: 15,
|
|
@@ -265,7 +269,7 @@ const Content = React.createClass({
|
|
|
<span> 到 </span>
|
|
|
<InputNumber style={{ width: 80 }} disabled={Boolean(this.state.budgetCost)} onChange={(e) => { this.state.budgetCostUpper = e; }} />
|
|
|
<span> 万元</span>
|
|
|
- <Button style={{ marginLeft: '20px' }} disabled={Boolean(this.state.budgetCost)} onClick={this.loadData}>确定</Button>
|
|
|
+ <Button style={{ marginLeft: '20px' }} disabled={Boolean(this.state.budgetCost)} onClick={() => { this.loadData() }}>确定</Button>
|
|
|
</Col>
|
|
|
</Row>
|
|
|
<Row className="search-criteria">
|