Merge branch 'master' of codeup.aliyun.com:5f9118049cffa29cfdd3be1c/marketing/frontend
This commit is contained in:
commit
6926fa0a81
|
@ -41,14 +41,11 @@ export default class acclist extends React.Component{
|
|||
}
|
||||
//分页
|
||||
onPageChange(e){
|
||||
let data = {
|
||||
page:e,
|
||||
limit:this.state.limit,
|
||||
status:this.state.status,
|
||||
key_word:this.state.key_word
|
||||
}
|
||||
|
||||
this.getPlanList(data);
|
||||
this.setState({page:e});
|
||||
setTimeout(()=>{
|
||||
this.getpageFn();
|
||||
},0);
|
||||
|
||||
}
|
||||
componentDidMount(e){
|
||||
|
||||
|
@ -58,12 +55,7 @@ export default class acclist extends React.Component{
|
|||
|
||||
})
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
let data = {
|
||||
page:1,
|
||||
limit:10
|
||||
|
@ -88,15 +80,20 @@ export default class acclist extends React.Component{
|
|||
})
|
||||
}
|
||||
onCountChange(e){
|
||||
this.setState({limit:e})
|
||||
let data = {
|
||||
page:1,
|
||||
limit:e,
|
||||
status:this.state.status,
|
||||
key_word:this.state.key_word
|
||||
}
|
||||
this.getPlanList(data);
|
||||
}
|
||||
this.setState({page:1,limit:e})
|
||||
setTimeout(()=>{
|
||||
this.getpageFn();
|
||||
},0);
|
||||
}
|
||||
getpageFn(){
|
||||
let data = {
|
||||
page:this.state.page,
|
||||
limit:this.state.limit,
|
||||
status:this.state.status,
|
||||
key_word:this.state.key_word
|
||||
}
|
||||
this.getPlanList(data);
|
||||
}
|
||||
|
||||
|
||||
//切换siwtch
|
||||
|
|
Loading…
Reference in New Issue