|
|
|
@ -1451,6 +1451,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
],
|
|
|
|
|
yslpros:false,
|
|
|
|
|
datajs:[],
|
|
|
|
|
homework_status:[],
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1569,7 +1570,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
allow_late:result.data.allow_late,
|
|
|
|
|
loadingstate: false,
|
|
|
|
|
computeTimetype:true,
|
|
|
|
|
})
|
|
|
|
|
homework_status:result.data.homework_status,
|
|
|
|
|
});
|
|
|
|
|
this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,1);
|
|
|
|
|
|
|
|
|
|
if (result.data.student_works === undefined || result.data.student_works === null || JSON.stringify(result.data.student_works) === "[]") {
|
|
|
|
@ -1626,7 +1628,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
code_review: result.data.code_review,
|
|
|
|
|
challenges_count:result.data.challenges_count,
|
|
|
|
|
view_report:result.data.view_report,
|
|
|
|
|
})
|
|
|
|
|
homework_status:result.data.homework_status,
|
|
|
|
|
});
|
|
|
|
|
if (result.data.student_works === undefined || result.data.student_works === null || JSON.stringify(result.data.student_works) === "[]") {
|
|
|
|
|
this.seacthdata(result.data);
|
|
|
|
|
} else {
|
|
|
|
@ -2129,7 +2132,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
code_review: result.data.code_review,
|
|
|
|
|
challenges_count:result.data.challenges_count,
|
|
|
|
|
view_report:result.data.view_report,
|
|
|
|
|
})
|
|
|
|
|
homework_status:result.data.homework_status,
|
|
|
|
|
});
|
|
|
|
|
this.seacthdata(result.data);
|
|
|
|
|
this.props.Getdataback(result,result.data);
|
|
|
|
|
}
|
|
|
|
@ -2242,7 +2246,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
end_immediately: result.data.end_immediately,
|
|
|
|
|
code_review: result.data.code_review,
|
|
|
|
|
challenges_count:result.data.challenges_count,
|
|
|
|
|
})
|
|
|
|
|
homework_status:result.data.homework_status,
|
|
|
|
|
});
|
|
|
|
|
this.seacthdatat(result.data,result.data.student_works,result.data.work_efficiency,result.data.course_group_info,page);
|
|
|
|
|
this.props.Getdataback(result,result.data);
|
|
|
|
|
// }
|
|
|
|
@ -3068,6 +3073,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
|
<div className=" clearfix " style={{margin: "auto" , minWidth:"1200px"}}>
|
|
|
|
|