schedule_job
杨树明 5 years ago
parent 45541c775b
commit 071d2df645

@ -1244,19 +1244,19 @@ class Studentshavecompletedthelist extends Component {
(//助教是否有权限
this.props.assistant_auth&&this.props.assistant_auth===true?
<a style={{textAlign: "center"}} className="color-blue"
target="_blank" onClick={() => this.Adjustment(record.user_id)}>评阅</a>
target="_blank" onClick={() => this.Adjustment(record.user_id)}>{record.has_comment===true?"已评阅":"评阅"}</a>
:
(//是否截止
this.props.Commonheadofthetestpaper && this.props.Commonheadofthetestpaper.exercise_status===3?
<a style={{textAlign: "center"}} className="color-blue"
target="_blank" onClick={() => this.Adjustment(record.user_id)}>评阅</a>
target="_blank" onClick={() => this.Adjustment(record.user_id)}>{record.has_comment===true?"已评阅":"评阅"}</a>
:
<span style={{textAlign: "center", color: '#999999'}}>--</span>
)
)
:
<a style={{textAlign: "center"}} className="color-blue"
target="_blank" onClick={() => this.Adjustment(record.user_id)}>评阅</a>
target="_blank" onClick={() => this.Adjustment(record.user_id)}>{record.has_comment===true?"已评阅":"评阅"}</a>
)
:record.submitstate === "已提交"?
(//是否助教
@ -1581,8 +1581,9 @@ class Studentshavecompletedthelist extends Component {
efficiencyscore: exercise_users[i].score === null ? "--" : exercise_users[i].score === "" ? "--" : exercise_users[i].score,
objective_score: exercise_users[i].objective_score === null ? "--" : exercise_users[i].objective_score === "" ? "--" : exercise_users[i].objective_score,
subjective_score:exercise_users[i].subjective_score === null ? "--" : exercise_users[i].subjective_score === "" ? "--" : exercise_users[i].subjective_score,
operating: "评阅",
operating:exercise_users[i].has_comment===true?"已评阅":"评阅",
commit_method:exercise_users[i].commit_method,
has_comment:exercise_users[i].has_comment
})
} else {
datalist.push({
@ -1599,8 +1600,9 @@ class Studentshavecompletedthelist extends Component {
efficiencyscore: exercise_users[i].score === null ? "--" : exercise_users[i].score === "" ? "--" : exercise_users[i].score,
objective_score: exercise_users[i].objective_score === null ? "--" : exercise_users[i].objective_score === "" ? "--" : exercise_users[i].objective_score,
subjective_score:exercise_users[i].subjective_score === null ? "--" : exercise_users[i].subjective_score === "" ? "--" : exercise_users[i].subjective_score,
operating: "--",
commit_method:exercise_users[i].commit_method
operating:exercise_users[i].has_comment===true?"已评阅":"--",
commit_method:exercise_users[i].commit_method,
has_comment:exercise_users[i].has_comment
})
}
@ -1670,8 +1672,9 @@ class Studentshavecompletedthelist extends Component {
efficiencyscore: exercise_users[i].score === null ? "--" : exercise_users[i].score === "" ? "--" : exercise_users[i].score,
objective_score: exercise_users[i].objective_score === null ? "--" : exercise_users[i].objective_score === "" ? "--" : exercise_users[i].objective_score,
subjective_score:exercise_users[i].subjective_score === null ? "--" : exercise_users[i].subjective_score === "" ? "--" : exercise_users[i].subjective_score,
operating: "查看",
operating:exercise_users[i].has_comment===true?"已评阅":"查看",
commit_method:exercise_users[i].commit_method,
has_comment:exercise_users[i].has_comment
})
noclassroom = exercise_users[i].user_group_name;
}
@ -1817,9 +1820,10 @@ class Studentshavecompletedthelist extends Component {
efficiencyscore: exercise_users[i].score === undefined ? "--" : exercise_users[i].score === null ? "--" : exercise_users[i].score === "" ? "--" : exercise_users[i].score,
objective_score: exercise_users[i].objective_score === null ? "--" : exercise_users[i].objective_score === "" ? "--" : exercise_users[i].objective_score,
subjective_score:exercise_users[i].subjective_score === null ? "--" : exercise_users[i].subjective_score === "" ? "--" : exercise_users[i].subjective_score,
finalscore: "评阅",
finalscore:exercise_users[i].has_comment===true?"已评阅":"评阅",
user_id: exercise_users[i].user_id,
commit_method:exercise_users[i].commit_method
commit_method:exercise_users[i].commit_method,
has_comment:exercise_users[i].has_comment
})
} else {
datalist.push({
@ -1836,9 +1840,10 @@ class Studentshavecompletedthelist extends Component {
efficiencyscore: exercise_users[i].score === undefined ? "--" : exercise_users[i].score === null ? "--" : exercise_users[i].score === "" ? "--" : exercise_users[i].score,
objective_score: exercise_users[i].objective_score === null ? "--" : exercise_users[i].objective_score === "" ? "--" : exercise_users[i].objective_score,
subjective_score:exercise_users[i].subjective_score === null ? "--" : exercise_users[i].subjective_score === "" ? "--" : exercise_users[i].subjective_score,
finalscore: "--",
finalscore:exercise_users[i].has_comment===true?"已评阅":"--",
user_id: exercise_users[i].user_id,
commit_method:exercise_users[i].commit_method
commit_method:exercise_users[i].commit_method,
has_comment:exercise_users[i].has_comment
})
indexi++;
}

Loading…
Cancel
Save