courseware
cxt 5 years ago
parent 5259846636
commit 4e84b139d3

@ -123,6 +123,7 @@ elsif @homework.homework_type == "group" || @homework.homework_type == "normal"
json.student_works @student_works.each do |work|
if @is_evaluation
json.(work, :id, :work_status, :update_time)
json.user_comment_count @homework_detail_manual.comment_status > 2 && work.work_status > 0 ? work.user_comment_num : 0
json.student_score work_score_format(anon_comments(@current_user, work.id).last.try(:score), false, true)
# json.student_comment_count anon_comments(@current_user, work.id).count

Loading…
Cancel
Save