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