更新营销计划列表
This commit is contained in:
parent
0e1ff9ca43
commit
96d07caccd
|
@ -160,7 +160,7 @@ export default class acclist extends React.Component{
|
|||
this.setState({page:1,limit:e})
|
||||
setTimeout(()=>{
|
||||
this.getpageFn();
|
||||
},0);
|
||||
},200);
|
||||
}
|
||||
getpageFn(){
|
||||
let data = {
|
||||
|
@ -478,7 +478,7 @@ export default class acclist extends React.Component{
|
|||
params[prop] = e
|
||||
this.setState(params)
|
||||
}
|
||||
// this.getPlanList(data)
|
||||
this.getPlanList(data)
|
||||
console.log(this.state)
|
||||
|
||||
}
|
||||
|
@ -499,9 +499,7 @@ export default class acclist extends React.Component{
|
|||
componentDidUpdate(prevProps,prevState){
|
||||
// 参数分别为改变之前的数据状态对象
|
||||
if(prevState.search!=this.state.search &&!this.state.search){
|
||||
this.iptsureFn();
|
||||
}
|
||||
if(prevState.status!=this.state.status){
|
||||
console.log(666)
|
||||
this.iptsureFn();
|
||||
}
|
||||
}
|
||||
|
@ -563,14 +561,14 @@ export default class acclist extends React.Component{
|
|||
|
||||
console.log(data)
|
||||
this.setState(data)
|
||||
|
||||
this.setState({page:1})
|
||||
this.setState({limit:10})
|
||||
let params = {
|
||||
page:1,
|
||||
limit:10,
|
||||
status:this.state.status,
|
||||
key_word: this.state.search
|
||||
}
|
||||
// this.getPlanList(params)
|
||||
this.getPlanList(params)
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue