计划任务筛选请求问题处理

This commit is contained in:
姜棚 2021-12-22 15:28:40 +08:00
parent 6b53de026d
commit 68182267bd
3 changed files with 8 additions and 18 deletions

View File

@ -475,18 +475,12 @@ export default class acclist extends React.Component{
sessionStorage.setItem("keyBatchId",req.key_batch_id) sessionStorage.setItem("keyBatchId",req.key_batch_id)
getReseller(req.reseller_id).then((res)=>{ getReseller(req.reseller_id).then((res)=>{
handelResponse(res,(req,msg)=>{ handelResponse(res,(req,msg)=>{
this.setState({phone_list:req.contact_phone}) this.setState({phone_list:req.contact_phone})
this.setState({email_list:req.contact_email}) this.setState({email_list:req.contact_email})
this.setState({audit_visible:true}) this.setState({audit_visible:true})
}) })
}) })
},(err)=>{ },(err)=>{
Notify.error(err); Notify.error(err);
}) })
@ -497,13 +491,8 @@ export default class acclist extends React.Component{
} }
onBindNum(e,row,rowIndex){ onBindNum(e,row,rowIndex){
console.log(e)
this.state.distdata[rowIndex].restrict = e.target.value; this.state.distdata[rowIndex].restrict = e.target.value;
this.setState({distdata:this.state.distdata}) this.setState({distdata:this.state.distdata})
} }
onDisabledRange = (date, type)=>{ onDisabledRange = (date, type)=>{

View File

@ -184,6 +184,7 @@ export default class acclist extends React.Component{
//分页 //分页
onPageChange(e){ onPageChange(e){
console.log("分页")
this.setState({page:e}) this.setState({page:e})
setTimeout(()=>{ setTimeout(()=>{
this.getKeyList(); this.getKeyList();
@ -233,8 +234,9 @@ export default class acclist extends React.Component{
//page //page
pageChange(e){ pageChange(e){
this.setState({page:e}); this.setState({page:e});
setTimeout(()=>{
this.getKeyList();
},200)
} }
tabFn(index){ tabFn(index){
this.setState({activepage:index,key_word:''}); this.setState({activepage:index,key_word:''});

View File

@ -468,8 +468,6 @@ export default class acclist extends React.Component{
limit:10, limit:10,
key_word:this.state.key_word key_word:this.state.key_word
} }
console.log(prop)
data[prop] = e data[prop] = e
if(e==999) if(e==999)
{ {
@ -480,8 +478,9 @@ 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)
} }
phoneChange=(e)=> phoneChange=(e)=>
{ {
@ -571,7 +570,7 @@ export default class acclist extends React.Component{
status:this.state.status, status:this.state.status,
key_word: this.state.search key_word: this.state.search
} }
this.getPlanList(params) // this.getPlanList(params)
} }