代理拦截修改提交

This commit is contained in:
wangxin
2019-05-21 19:50:54 +08:00
parent ac52747686
commit 182a6a8ddc
34 changed files with 2489 additions and 188 deletions

View File

@@ -878,16 +878,16 @@ jQuery.validator.addMethod("noStrategyCheck",function(value,element) {
return flag;
});
// 代理拦截策略ssl version min小于max校验
//jQuery.validator.addMethod("sslVersionCheck",function(value,element) {
// var min,max;
// if($(element).attr("id")=="min"){
// min=element,max=$("#max");
// }else{
// max=element,min=$("#min");
// }
// if($(min).find("option:selected").data("sort")>=$(max).find("option:selected").data("sort")){
// return false;
// }else{
// return true;
// }
//});
jQuery.validator.addMethod("sslVersionCheck",function(value,element) {
var min,max;
if($(element).attr("id")=="min"){
min=element,max=$("#max");
}else{
max=element,min=$("#min");
}
if($(min).find("option:selected").data("sort")>=$(max).find("option:selected").data("sort")){
return false;
}else{
return true;
}
});

View File

@@ -98,6 +98,7 @@
rangeCross0:"The IP {0} must not between {1} and {2}",
rangeCross1:"The IP range {0} has intersections with {1}",
protectedCfgUnique:"Keyword already exists.",
addrList:"Please enter the legitimate targets identification list"
addrList:"Please enter the legitimate targets identification list",
sslVersionCheck:"Min SSL version should smaller than Max SSL version"
});
}(jQuery));

View File

@@ -98,6 +98,7 @@
rangeCross0:"IP {0} не должен находиться между {1} и {2}",
rangeCross1:"Диапазон IP {0} имеет пересечения с {1}",
protectedCfgUnique:"Ключевое слово уже существует.",
addrList:"Please enter the legitimate targets identification list"
addrList:"Please enter the legitimate targets identification list",
sslVersionCheck:"моя версия SSL должны меньше, чем версия SSL, макс"
});
}(jQuery));

View File

@@ -98,6 +98,7 @@
rangeCross0:"IP{0}不能介于{1}和{2}",
rangeCross1:"IP范围{0}和IP范围{1}有交集",
protectedCfgUnique:"关键字已存在",
addrList:"请输入合法的目标标识列表"
addrList:"请输入合法的目标标识列表",
sslVersionCheck:"最小SSL协议版本应小于最大SSL协议版本"
});
}(jQuery));