|
|
|
@ -229,7 +229,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
efficiencyscore: this.state.teacherdata.eff_score,
|
|
|
|
|
finalscore: this.state.teacherdata.work_score,
|
|
|
|
|
operating: "查看",
|
|
|
|
|
late_penalty: this.state.teacherdata.late_penalty=== null?"0":this.state.teacherdata.student_works[i].late_penalty === undefined?"0":this.state.teacherdata.student_works[i].late_penalty,
|
|
|
|
|
late_penalty: this.state.teacherdata.late_penalty=== null?"0":this.state.teacherdata.late_penalty === undefined?"0":this.state.teacherdata.late_penalty,
|
|
|
|
|
ultimate_score:this.state.teacherdata.ultimate_score,
|
|
|
|
|
user_name: this.state.teacherdata.user_name,
|
|
|
|
|
user_login: this.state.teacherdata.user_login,
|
|
|
|
@ -333,7 +333,7 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
efficiencyscore: this.state.teacherdata.eff_score,
|
|
|
|
|
finalscore: this.state.teacherdata.work_score,
|
|
|
|
|
operating: "查看",
|
|
|
|
|
late_penalty: this.state.teacherdata.late_penalty=== null?"0":this.state.teacherdata.student_works[i].late_penalty === undefined?"0":this.state.teacherdata.student_works[i].late_penalty,
|
|
|
|
|
late_penalty: this.state.teacherdata.late_penalty=== null?"0":this.state.teacherdata.late_penalty === undefined?"0":this.state.teacherdata.late_penalty,
|
|
|
|
|
ultimate_score:this.state.teacherdata.ultimate_score,
|
|
|
|
|
user_name: this.state.teacherdata.user_name,
|
|
|
|
|
user_login: this.state.teacherdata.user_login,
|
|
|
|
@ -355,8 +355,8 @@ class Listofworksstudentone extends Component {
|
|
|
|
|
|
|
|
|
|
var teacherlist = undefined;
|
|
|
|
|
}
|
|
|
|
|
console.log("datalistdatalist文件");
|
|
|
|
|
console.log(datalist);
|
|
|
|
|
// console.log("datalistdatalist文件");
|
|
|
|
|
// console.log(datalist);
|
|
|
|
|
this.setState({
|
|
|
|
|
data: datalist,
|
|
|
|
|
teacherlist: teacherlist,
|
|
|
|
|