|
|
|
@ -35,6 +35,14 @@ class Signedinlist extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getdatas(this.props&&this.props.switattendance_id,1,[],undefined)
|
|
|
|
|
// this.getpath()
|
|
|
|
|
}
|
|
|
|
|
componentDidUpdate(prevProps, prevState) {
|
|
|
|
|
if(prevProps.headdata!=this.props.headdata){
|
|
|
|
|
console.log(this.props.headdata)
|
|
|
|
|
let {attendanceslist}=this.state;
|
|
|
|
|
if(this.props.headdata){
|
|
|
|
|
let listattendanceslist=attendanceslist;
|
|
|
|
@ -55,11 +63,8 @@ class Signedinlist extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.getdatas(this.props&&this.props.switattendance_id,1,[],undefined)
|
|
|
|
|
// this.getpath()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
getdatas=(id,page,group_ids,attendance_status)=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
loading:true,
|
|
|
|
|