From c2d024a352fba95c66daf3444fc3429f06aae5a0 Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 16 Aug 2018 11:20:43 +0800 Subject: [PATCH] =?UTF-8?q?(1)app=E7=89=B9=E5=BE=81=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E5=9F=BA=E7=A1=80=E5=8D=8F=E8=AE=AE=EF=BC=8C=E5=8A=A0?= =?UTF-8?q?=E5=AF=86=E9=9A=A7=E9=81=93=E8=A1=8C=E4=B8=BAtree=E6=A0=B9?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=B7=BB=E5=8A=A0tittle=20(2)=E7=89=B9?= =?UTF-8?q?=E5=AE=9A=E6=9C=8D=E5=8A=A1=E8=A1=A8=E5=8D=95=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/tags/sys/treeselect.tag | 1 - .../WEB-INF/views/cfg/app/appByteCfgForm.jsp | 1 + .../views/cfg/app/appDomainCfgForm.jsp | 1 + .../WEB-INF/views/cfg/app/appHttpCfgForm.jsp | 1 + .../WEB-INF/views/cfg/app/appIpCfgForm.jsp | 1 + .../views/cfg/app/appPolicyCfgForm.jsp | 1 + .../WEB-INF/views/cfg/basicprotocol/form.jsp | 1 + .../views/cfg/encryptedtunnelbehav/form.jsp | 1 + .../views/specific/specificServiceCfgForm.jsp | 26 +++++++------------ 9 files changed, 17 insertions(+), 17 deletions(-) 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 @@
+