diff --git a/app/views/student_work/shixun_work_report.html.erb b/app/views/student_work/shixun_work_report.html.erb index 34449b17..a7307405 100644 --- a/app/views/student_work/shixun_work_report.html.erb +++ b/app/views/student_work/shixun_work_report.html.erb @@ -76,7 +76,7 @@ 延时 <% end %> - <%= game.try(:open_time).nil? ? "--" : format_time(game.open_time) %> + <%= game.try(:open_time).nil? || game.status == 3 ? "--" : format_time(game.open_time) %> <% user_query = @game_user_query.select{|user_query| user_query[0] == game.id} %> <%= user_query.blank? ? "--" : user_query.first[1] %> <%= game.try(:end_time).nil? ? "--" : format_time(game.end_time) %>