diff --git a/src/main/webapp/WEB-INF/tags/sys/treeselect.tag b/src/main/webapp/WEB-INF/tags/sys/treeselect.tag index e2520f1d6..2fc704fb5 100644 --- a/src/main/webapp/WEB-INF/tags/sys/treeselect.tag +++ b/src/main/webapp/WEB-INF/tags/sys/treeselect.tag @@ -26,7 +26,6 @@ <%@ attribute name="showParentName" type="java.lang.String" required="false" description="显示父类名称"%> <%@ attribute name="checkedPS" type="java.lang.String" required="false" description="复选框选中时是否关联父子节点,ps关联父子,p关联父,s关联子,都不关联为空"%> <%@ attribute name="unCheckedPS" type="java.lang.String" required="false" description="复选框取消选中时是否关联父子节点,ps关联父子,p关联父,s关联子,都不关联为空"%> -<%@ attribute name="rootNodeName" type="java.lang.String" required="false" description="根节点显示的名称"%>
+
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp index 8e82f408c..5c229ec28 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp @@ -101,6 +101,7 @@ $(function(){
+
+
+
+
+
"); - if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){ - error.appendTo(element.parent().parent()); - } else { - error.insertAfter(element); - } + $(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error); } }); //if("${specificServiceCfg.parentType}"){ @@ -87,10 +82,6 @@ $(this).find("[name='parent.specServiceId']").removeAttr("name"); $(this).find("[name='parent.specServiceName']").removeAttr("name"); } - if($(this).attr("cfgType")==3){ - $(this).find("input").unbind("click"); - $(this).find("a").unbind("click"); - } }); $(".protocol_code").html('*:'); $(".protocol_name").html('*:'); @@ -102,9 +93,6 @@ $(this).find("[name='parent.specServiceId']").removeAttr("name"); $(this).find("[name='parent.specServiceName']").removeAttr("name"); } - if($(this).attr("cfgType")==3){ - $(this).find("input").unbind("click"); - } }); if($("[name='cfgType']").val()==1){ $(".protocol_code").html('*:'); @@ -127,8 +115,9 @@ if($(this).attr("cfgType")==cfgType){ $(this).removeClass("hidden"); $("#specificServiceCfg"+cfgType+"Id").attr("name","parent.specServiceId"); + $("#specificServiceCfg"+cfgType+"Name").attr("name","parent.specServiceName"); }else{ - $(this).addClass("hidden").addClass("disable"); + $(this).addClass("hidden"); $(this).find("[name='parent.specServiceId']").removeAttr("name"); $(this).find("[name='parent.specServiceName']").removeAttr("name"); } @@ -199,13 +188,14 @@
+ url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${dict.itemCode}" extId="${specificServiceCfg.specServiceId}" cssClass="required form-control"/> + title="${dict.itemValue}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${dict.itemCode}" extId="${specificServiceCfg.specServiceId}" cssClass="required form-control"/>
+
@@ -213,18 +203,21 @@
+
+
+
<%--
@@ -249,6 +242,7 @@
+