(1)复用类型Ip导入验证修复

(2)隧道类配置IP导入模板修改
(3)IP拦截配置导入模板修改
(4)IPSCIP配置导入验证逻辑修改,当action为drop的时候,输入50或者51,监测的时候为0
(5)IP拦截配置导入模板修改
This commit is contained in:
wangxin
2018-07-31 12:18:34 +08:00
parent 1a94c225bc
commit 8b3efbcfbf
14 changed files with 205 additions and 83 deletions

View File

@@ -46,7 +46,18 @@ $(function(){
}
});
}
if('${specialProtocol}'&&'${specialProtocol}'=='ipsec'){
alert(222);
$("[name='action']").on("change",function(){
if($(this).is(":checked")){
if($(this).val()==32){
alert(111);
}else{
}
}
});
}
$("#ipCfgFrom").validate({
errorPlacement: function(error,element){
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
@@ -267,4 +278,7 @@ $(function(){
</div>
</div>
</body>
<script type="text/javascript">
</script>
</html>