|
|
|
@ -19,6 +19,7 @@ json.allow_late @homework.allow_late
|
|
|
|
|
if @user_course_identity < Course::STUDENT
|
|
|
|
|
|
|
|
|
|
json.calculation_time @homework.calculation_time if @homework.homework_type == "practice"
|
|
|
|
|
json.answer_open_evaluation @homework_detail_manual.answer_open_evaluation if @homework.homework_type == "practice"
|
|
|
|
|
# 教师身份的评阅、提交状态、分班过滤
|
|
|
|
|
if @homework.homework_type != "practice"
|
|
|
|
|
json.teacher_comment teacher_comment @homework, @current_user.id
|
|
|
|
|