dev_newshixunModel
杨树林 5 years ago
parent 7c239e1622
commit 560f4c5e2c

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

Loading…
Cancel
Save