diff --git a/src/main/java/com/nis/domain/configuration/IpReuseDnatPolicyCfg.java b/src/main/java/com/nis/domain/configuration/IpReuseDnatPolicyCfg.java index a3747e6fc..47803a4f8 100644 --- a/src/main/java/com/nis/domain/configuration/IpReuseDnatPolicyCfg.java +++ b/src/main/java/com/nis/domain/configuration/IpReuseDnatPolicyCfg.java @@ -16,7 +16,7 @@ public class IpReuseDnatPolicyCfg extends IpPortCfg{ @Expose @SerializedName("configId") - private Long cfgId; + private Integer compileId; @Expose @SerializedName("originalAddrType") @@ -74,12 +74,12 @@ public class IpReuseDnatPolicyCfg extends IpPortCfg{ this.protocol = protocol; } - public Long getCfgId() { - return cfgId; + public Integer getCompileId() { + return compileId; } - public void setCfgId(Long cfgId) { - this.cfgId = cfgId; + public void setCompileId(Integer compileId) { + this.compileId = compileId; } public String getSrcIpAddress() { diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appMultiFeatureCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appMultiFeatureCfgForm.jsp index f921f2990..55e371efa 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appMultiFeatureCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appMultiFeatureCfgForm.jsp @@ -74,6 +74,9 @@ var addContent = function(obj, contentClassName) { /* $("."+contentClassName+"0").find("input,select").each(function(){ $(this).removeAttr("disabled"); }); */ + $("select[name$='portPattern']").parents(".port").removeClass("hidden"); + $("input[name$='destIpAddress']").parents(".destPort").removeClass("hidden"); + $(".moreBtn").data("click-times",2); $(obj).addClass("hidden"); } diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appSubFeatureList.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appSubFeatureList.jsp index da07fdd77..909db24df 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appSubFeatureList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appSubFeatureList.jsp @@ -75,7 +75,7 @@ -