diff --git a/src/pages/exchangepage/main/main.js b/src/pages/exchangepage/main/main.js index ae8c5039..169422c8 100644 --- a/src/pages/exchangepage/main/main.js +++ b/src/pages/exchangepage/main/main.js @@ -379,6 +379,7 @@ export default class acclist extends React.Component { this.countChange(e) } } + page={this.state.page} pageChange = { (e) => { this.pageChange(e) diff --git a/src/pages/plan/key/list.js b/src/pages/plan/key/list.js index 84dfde21..8b4cfcc3 100644 --- a/src/pages/plan/key/list.js +++ b/src/pages/plan/key/list.js @@ -127,15 +127,15 @@ export default class acclist extends React.Component{ getKeyList(time={}){ let _self=this; - let {page,limit,key_word,product_type}=_self.state; + let {page,limit,key_word,activepage}=_self.state; let data={page,limit} data.plan_id=sessionStorage.getItem("key_plan_id"); if(this.state.combinedValue&&this.state.combinedValue[0]){ data.begin_time=this.state.combinedValue[0]; data.end_time=this.state.combinedValue[1]; } - if(product_type){ - data.product_type=product_type; + if(activepage){ + data.status=activepage; } if(key_word){ data.key_word=key_word;