From ebe9ee145b81345058b32a1f3197fdb040eb7940 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 19 Mar 2019 16:45:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E6=8A=A5=E5=91=8A=E7=9A=84?= =?UTF-8?q?=E5=BC=80=E5=90=AF=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/student_work/shixun_work_report.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) %>