PCqiandao
杨树明 5 years ago
parent 0a854db375
commit 6e28874707

@ -102,16 +102,18 @@ class Signedinlist extends Component {
neval=[]
this.setState({
group_ids: [],
page:1
})
}else{
neval=[value]
this.setState({
group_ids: [value],
page:1
})
}
let {page,attendance_status}=this.state;
this.getdatas(this.props&&this.props.switattendance_id,page,neval,attendance_status)
this.getdatas(this.props&&this.props.switattendance_id,1,neval,attendance_status)
if(this.props.defaultActiveKey==="1"){
this.getpath(value)
}
@ -161,16 +163,18 @@ class Signedinlist extends Component {
neval=undefined
this.setState({
attendance_status:undefined,
page:1
})
}else{
neval=value
this.setState({
attendance_status: value,
page:1
})
}
let {page,group_ids}=this.state;
this.getdatas(this.props&&this.props.switattendance_id,page,group_ids,neval)
this.getdatas(this.props&&this.props.switattendance_id,1,group_ids,neval)
}
paginationonChange = (pageNumber) => {
this.setState({

Loading…
Cancel
Save