修改DNAT策略下发compildId,APP特征Payload、HTTP、SSL IP域信息展示.

This commit is contained in:
zhangwq
2018-12-09 14:14:41 +08:00
parent 9ba4be4f85
commit a4b3c670a0
5 changed files with 12 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ public class IpReuseDnatPolicyCfg extends IpPortCfg{
@Expose @Expose
@SerializedName("configId") @SerializedName("configId")
private Long cfgId; private Integer compileId;
@Expose @Expose
@SerializedName("originalAddrType") @SerializedName("originalAddrType")
@@ -74,12 +74,12 @@ public class IpReuseDnatPolicyCfg extends IpPortCfg{
this.protocol = protocol; this.protocol = protocol;
} }
public Long getCfgId() { public Integer getCompileId() {
return cfgId; return compileId;
} }
public void setCfgId(Long cfgId) { public void setCompileId(Integer compileId) {
this.cfgId = cfgId; this.compileId = compileId;
} }
public String getSrcIpAddress() { public String getSrcIpAddress() {

View File

@@ -74,6 +74,9 @@ var addContent = function(obj, contentClassName) {
/* $("."+contentClassName+"0").find("input,select").each(function(){ /* $("."+contentClassName+"0").find("input,select").each(function(){
$(this).removeAttr("disabled"); $(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"); $(obj).addClass("hidden");
} }

View File

@@ -75,7 +75,7 @@
</label> </label>
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4 hidden">
<div class="form-group"> <div class="form-group">
<label><spring:message code='client_ip'/>:</label> <label><spring:message code='client_ip'/>:</label>
<label> <label>
@@ -95,7 +95,7 @@
</label> </label>
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4 hidden">
<div class="form-group"> <div class="form-group">
<label><spring:message code='client_port'/>:</label><label>${cfg.srcPort }</label> <label><spring:message code='client_port'/>:</label><label>${cfg.srcPort }</label>
</div> </div>

View File

@@ -185,7 +185,7 @@
</div> </div>
<div class="row"> <div class="row">
<button type="button" class="btn btn-red-hollow center-block" <button type="button" class="btn btn-red-hollow center-block moreBtn"
onClick="more(this);" data-click-times="0"> onClick="more(this);" data-click-times="0">
<spring:message code="show_more" /> <spring:message code="show_more" />
</button> </button>

View File

@@ -136,7 +136,7 @@
html+="</tbody>"; html+="</tbody>";
html+="</table>"; html+="</table>";
html+="</div>"; html+="</div>";
top.$.jBox(html,{width: $(document).width()*0.4,height: 380,title:"<spring:message code="ip_info"/>", buttons:{"<spring:message code="close"/>":true}}); top.$.jBox(html,{width: $(document).width()*0.4,height: 380,persistent: false,title:"<spring:message code="ip_info"/>", buttons:{"<spring:message code="close"/>":true}});
} }
}); });
} }