dev_forum
杨树林 6 years ago
parent 8446181ddc
commit 5a793cea06

@ -229,7 +229,7 @@ class Listofworksstudentone extends Component {
efficiencyscore: this.state.teacherdata.eff_score, efficiencyscore: this.state.teacherdata.eff_score,
finalscore: this.state.teacherdata.work_score, finalscore: this.state.teacherdata.work_score,
operating: "查看", 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, ultimate_score:this.state.teacherdata.ultimate_score,
user_name: this.state.teacherdata.user_name, user_name: this.state.teacherdata.user_name,
user_login: this.state.teacherdata.user_login, user_login: this.state.teacherdata.user_login,
@ -333,7 +333,7 @@ class Listofworksstudentone extends Component {
efficiencyscore: this.state.teacherdata.eff_score, efficiencyscore: this.state.teacherdata.eff_score,
finalscore: this.state.teacherdata.work_score, finalscore: this.state.teacherdata.work_score,
operating: "查看", 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, ultimate_score:this.state.teacherdata.ultimate_score,
user_name: this.state.teacherdata.user_name, user_name: this.state.teacherdata.user_name,
user_login: this.state.teacherdata.user_login, user_login: this.state.teacherdata.user_login,
@ -355,8 +355,8 @@ class Listofworksstudentone extends Component {
var teacherlist = undefined; var teacherlist = undefined;
} }
console.log("datalistdatalist文件"); // console.log("datalistdatalist文件");
console.log(datalist); // console.log(datalist);
this.setState({ this.setState({
data: datalist, data: datalist,
teacherlist: teacherlist, teacherlist: teacherlist,

Loading…
Cancel
Save