解决切换bug
This commit is contained in:
parent
fe0c173380
commit
9dcd29828d
|
@ -127,15 +127,15 @@ export default class acclist extends React.Component{
|
||||||
|
|
||||||
getKeyList(time={}){
|
getKeyList(time={}){
|
||||||
let _self=this;
|
let _self=this;
|
||||||
let {page,limit,key_word,product_type}=_self.state;
|
let {page,limit,key_word,activepage}=_self.state;
|
||||||
let data={page,limit}
|
let data={page,limit}
|
||||||
data.plan_id=sessionStorage.getItem("key_plan_id");
|
data.plan_id=sessionStorage.getItem("key_plan_id");
|
||||||
if(this.state.combinedValue&&this.state.combinedValue[0]){
|
if(this.state.combinedValue&&this.state.combinedValue[0]){
|
||||||
data.begin_time=this.state.combinedValue[0];
|
data.begin_time=this.state.combinedValue[0];
|
||||||
data.end_time=this.state.combinedValue[1];
|
data.end_time=this.state.combinedValue[1];
|
||||||
}
|
}
|
||||||
if(product_type){
|
if(activepage){
|
||||||
data.product_type=product_type;
|
data.status=activepage;
|
||||||
}
|
}
|
||||||
if(key_word){
|
if(key_word){
|
||||||
data.key_word=key_word;
|
data.key_word=key_word;
|
||||||
|
|
Loading…
Reference in New Issue