|
|
|
@ -1031,6 +1031,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
// console.log(this.props);
|
|
|
|
|
// console.log(this.props.isAdmin())
|
|
|
|
|
this.student();
|
|
|
|
|
console.log("Listofworksstudentone---------------");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
}
|
|
|
|
|
isupdatas = () => {
|
|
|
|
|
var homeworkid = this.props.match.params.homeworkid;
|
|
|
|
@ -2492,27 +2494,12 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
let {columns,course_groupysls,datajs,isAdmin, course_groupyslstwo, unlimited, unlimitedtwo, course_group_info, orders, task_status, checkedValuesine, searchtext, teacherlist, visible,visibles, game_list,columnsstu, limit,experience, boolgalist,viewtrainingdata, teacherdata, page, data, jobsettingsdata, styletable, datas, order, loadingstate,computeTimetype} = this.state;
|
|
|
|
|
|
|
|
|
|
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
|
|
|
|
|
// console.log(this.state.student_works);
|
|
|
|
|
// console.log("841");
|
|
|
|
|
// console.log(this.state.columns);
|
|
|
|
|
// console.log(datajs);
|
|
|
|
|
// console.log("2202");
|
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
// console.log("2498");
|
|
|
|
|
// console.log(data);
|
|
|
|
|
// console.log(datas);
|
|
|
|
|
// console.log(this.props.isAdmin());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let course_is_end = this.props.current_user&&this.props.current_user.course_is_end;
|
|
|
|
|
// if(this.props.isAdmin() === false){
|
|
|
|
|
// if(teacherdata.student_works!==undefined){
|
|
|
|
|
// if(teacherdata.student_works.length>0){
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
console.log("Listofworksstudentone+++++++++");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
return (
|
|
|
|
|
this.props.isAdmin() === true ?
|
|
|
|
|
(
|
|
|
|
|