diff --git a/app/views/shixuns/_settings_edit.html.erb b/app/views/shixuns/_settings_edit.html.erb index e4837252..70bf43f2 100644 --- a/app/views/shixuns/_settings_edit.html.erb +++ b/app/views/shixuns/_settings_edit.html.erb @@ -295,10 +295,14 @@ <% end %>
+ + +

服务配置

<% @shixun.shixun_service_configs.each do |config| %> +

<%= config.mirror_repository.try(:type_name) %>

- +
@@ -332,7 +336,7 @@
- +
@@ -361,45 +365,45 @@ - -

- -

- -
- -
- value="1" class="panel-box-sizing task-form-100 task-height-40" - placeholder="请输入类别名称"/> +
> +

+ +

+ > +
+ +
+ value="1" class="panel-box-sizing task-form-100 task-height-40" + placeholder="请输入类别名称"/> +
+
-
-
-
- -
- value="0.1" class="panel-box-sizing task-form-100 task-height-40" - placeholder="请输入类别名称"/> +
+ +
+ value="0.1" class="panel-box-sizing task-form-100 task-height-40" + placeholder="请输入类别名称"/> +
+
-
-
-
- -
- value="1024" class="panel-box-sizing task-form-100 task-height-40" - placeholder="请输入类别名称"/> +
+ +
+ value="1024" class="panel-box-sizing task-form-100 task-height-40" + placeholder="请输入类别名称"/> +
+
-
-
-
- -
- value="10" class="panel-box-sizing task-form-100 task-height-40" - placeholder="请输入类别名称"/> +
+ +
+ value="10" class="panel-box-sizing task-form-100 task-height-40" + placeholder="请输入类别名称"/> +
+ +
- -
- @@ -520,13 +524,20 @@ var arr = ""; var arrs = []; var idarr = []; + var noidarr=[]; for (var i = 0; i < all.find("input").length; i++) { if (all.find("input").eq(i).is(':checked')) { arr += ";" + (all.find("input").eq(i).attr("value")); arrs.push(all.find("input").eq(i).attr("value")) idarr.push(all.find("input").eq(i).parents("p").attr("data-shixun-value")); + }else{ + noidarr.push(all.find("input").eq(i).parents("p").attr("data-shixun-value")); } } + + for(var i=0; i