|
|
@ -40,8 +40,6 @@ elsif @user_course_identity == Course::STUDENT
|
|
|
|
json.efficiency work_score_format(@work.efficiency, true, @score_open)
|
|
|
|
json.efficiency work_score_format(@work.efficiency, true, @score_open)
|
|
|
|
json.eff_score work_score_format(@work.eff_score, true, @score_open)
|
|
|
|
json.eff_score work_score_format(@work.eff_score, true, @score_open)
|
|
|
|
json.complete_count @work.myshixun.try(:passed_count)
|
|
|
|
json.complete_count @work.myshixun.try(:passed_count)
|
|
|
|
json.redo_work (@homework.end_or_late ? false : student_redo_work(@work, @homework))
|
|
|
|
|
|
|
|
json.myshixun_identifier @work.myshixun&.identifier
|
|
|
|
|
|
|
|
else
|
|
|
|
else
|
|
|
|
json.(@work, :id, :work_status, :update_time, :ultimate_score)
|
|
|
|
json.(@work, :id, :work_status, :update_time, :ultimate_score)
|
|
|
|
|
|
|
|
|
|
|
|