|
|
@ -13,8 +13,19 @@ class Signindetails extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
componentDidMount() {
|
|
|
|
|
|
|
|
const switattendance_id=this.props.switattendance_id;
|
|
|
|
|
|
|
|
let urls = `/weapps/attendances/${switattendance_id}.json`;
|
|
|
|
|
|
|
|
axios.get(urls).then((response) => {
|
|
|
|
|
|
|
|
//.log(response);
|
|
|
|
|
|
|
|
if(response){
|
|
|
|
|
|
|
|
if(response.data){
|
|
|
|
|
|
|
|
console.log("历史数据")
|
|
|
|
|
|
|
|
console.log(response.data)
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
componentDidUpdate = (prevProps) => {
|
|
|
|
componentDidUpdate = (prevProps) => {
|
|
|
|
console.log("componentDidUpdate");
|
|
|
|
console.log("componentDidUpdate");
|
|
|
|