From 3f4300ec250c7f2b1041206626fba2d779ae6bac Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sat, 13 Jul 2019 08:42:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=AE=9E=E8=AE=AD=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=9A=84=E7=A8=8B=E5=BA=8F=E6=9C=80=E5=A4=A7=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shixuns/_settings_edit.html.erb | 30 +++++++++++------------ app/views/shixuns/_settings_show.html.erb | 12 ++++----- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/app/views/shixuns/_settings_edit.html.erb b/app/views/shixuns/_settings_edit.html.erb index 90efda66..02ae245b 100644 --- a/app/views/shixuns/_settings_edit.html.erb +++ b/app/views/shixuns/_settings_edit.html.erb @@ -227,19 +227,19 @@ <% end %> -
-

程序最大执行时间

-
- * -
- <%= f.text_field :exec_time, :class => "fl input-48-45 width20 greyInput", :placeholder => "请输入程序执行时间" %> - -
-
- 必填项 -
-
-
+ + + + + + <%#= f.text_field :exec_time, :class => "fl input-48-45 width20 greyInput", :placeholder => "请输入程序执行时间" %> + + + + + + +

命令行

  • @@ -421,8 +421,8 @@ } else { $("#test_script_code").hide(); } - if ($("#shixun_exec_time").val() == "") - return; + // if ($("#shixun_exec_time").val() == "") + // return; $("#edit_shixun_" + id).submit(); } } diff --git a/app/views/shixuns/_settings_show.html.erb b/app/views/shixuns/_settings_show.html.erb index 72752703..b7f750b2 100644 --- a/app/views/shixuns/_settings_show.html.erb +++ b/app/views/shixuns/_settings_show.html.erb @@ -40,12 +40,12 @@
  • -
    -

    程序最大执行时间

    -
    - <%= @shixun.exec_time %>秒 -
    -
    + + + + + +