diff --git a/app/views/student_work/_evaluation_title.html.erb b/app/views/student_work/_evaluation_title.html.erb index 7398dbee1..1e006a6a6 100644 --- a/app/views/student_work/_evaluation_title.html.erb +++ b/app/views/student_work/_evaluation_title.html.erb @@ -13,6 +13,12 @@ 时间 + <% if @homework.homework_type == 2%> +
  • + 系统 +
  • + <% end%> +
  • 我的评分
  • diff --git a/app/views/student_work/_evaluation_work.html.erb b/app/views/student_work/_evaluation_work.html.erb index db680cbec..e65d4f267 100644 --- a/app/views/student_work/_evaluation_work.html.erb +++ b/app/views/student_work/_evaluation_work.html.erb @@ -75,6 +75,13 @@ + <% if @homework.homework_type == 2%> + +
  • + <%= student_work.system_score.nil? ? "--" : format("%.1f",student_work.system_score)%> +
  • + <% end%> + <% my_score = student_work_score(student_work,User.current) %>
  • <%= my_score.nil? ? "--" : format("%.1f",my_score.score)%>