(1)配置导入前台异常提示修改
(2)ip 丢弃,限速时隐藏asn选项
This commit is contained in:
@@ -1788,7 +1788,7 @@ public class BaseController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(e instanceof MaatConvertException||e instanceof ServiceException) {
|
if(e instanceof MaatConvertException||e instanceof ServiceException) {
|
||||||
addMessage(redirectAttributes,"error", e.getMessage());
|
addMessage(redirectAttributes,"error", "request_service_failed");
|
||||||
}else {
|
}else {
|
||||||
addMessage(redirectAttributes,"error", "import_failed");
|
addMessage(redirectAttributes,"error", "import_failed");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,6 +57,13 @@
|
|||||||
$("[class~='boxSolid'][class~='ipPortList']").find(".glyphicon-remove").click();
|
$("[class~='boxSolid'][class~='ipPortList']").find(".glyphicon-remove").click();
|
||||||
processAction(isAsn,$(".asn"));
|
processAction(isAsn,$(".asn"));
|
||||||
}
|
}
|
||||||
|
//隐藏显示asn
|
||||||
|
if($("[name='action']:checked").val()==32||$("[name='action']:checked").val()==64){
|
||||||
|
console.log(111);
|
||||||
|
$("h4.form-section.asn").addClass("hidden");
|
||||||
|
}else{
|
||||||
|
$("h4.form-section.asn").removeClass("hidden");
|
||||||
|
}
|
||||||
$(".glyphicon-plus").on("click",function(){
|
$(".glyphicon-plus").on("click",function(){
|
||||||
if($(this).hasClass("ipPortList")){
|
if($(this).hasClass("ipPortList")){
|
||||||
isAsn=0;
|
isAsn=0;
|
||||||
@@ -137,6 +144,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
} */
|
} */
|
||||||
|
//隐藏显示asn
|
||||||
|
if($(this).val()==32||$(this).val()==64){
|
||||||
|
$("h4.form-section.asn").addClass("hidden");
|
||||||
|
}else{
|
||||||
|
$("h4.form-section.asn").removeClass("hidden");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
||||||
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
||||||
@@ -663,7 +676,7 @@ var showHideIPSECProtocol=function(obj){
|
|||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${region.regionType eq 7 }">
|
<c:if test="${region.regionType eq 7 }">
|
||||||
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
||||||
<h4 class="form-section">
|
<h4 class="form-section asn">
|
||||||
<spring:message code="${region.configRegionValue}" />
|
<spring:message code="${region.configRegionValue}" />
|
||||||
<small> <span
|
<small> <span
|
||||||
class="glyphicon glyphicon-plus asn ${tabName}Add"
|
class="glyphicon glyphicon-plus asn ${tabName}Add"
|
||||||
|
|||||||
Reference in New Issue
Block a user