|
@@ -245,6 +245,9 @@ const DemandList = React.createClass({
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
onChange: function (page) {
|
|
onChange: function (page) {
|
|
this.loadData(page);
|
|
this.loadData(page);
|
|
|
|
+ this.setState({
|
|
|
|
+ page:page
|
|
|
|
+ });
|
|
}.bind(this),
|
|
}.bind(this),
|
|
showTotal: function (total) {
|
|
showTotal: function (total) {
|
|
return '共' + total + '条数据';
|
|
return '共' + total + '条数据';
|
|
@@ -978,7 +981,7 @@ const DemandList = React.createClass({
|
|
closeDesc(e, s) {
|
|
closeDesc(e, s) {
|
|
this.state.showDesc = e;
|
|
this.state.showDesc = e;
|
|
if (s) {
|
|
if (s) {
|
|
- this.loadData();
|
|
|
|
|
|
+ this.loadData(this.state.page);
|
|
};
|
|
};
|
|
},
|
|
},
|
|
search() {
|
|
search() {
|