(1)特定服务管理UL修改
(2)特定服务管理加入协议号重复验证,有上级配置则上级配置的所有下级配置ID不能重复,无上级配置一级配置ID不能重复 (3)取消jBox的Cookie打印
This commit is contained in:
@@ -601,6 +601,30 @@ jQuery.validator.addMethod("checkParent",function(value, element) {
|
||||
}
|
||||
return true;
|
||||
});
|
||||
jQuery.validator.addMethod("specServiceCodeCheck",function(value, element) {
|
||||
var ctx=$(element).attr("ctx");
|
||||
var parentId= $("[name='parent.specServiceId']").val();
|
||||
var specServiceCode= $("#specServiceCode").val();
|
||||
var cfgType= $("[name='cfgType']").val();
|
||||
var specServiceId= $("[name='specServiceId']").val();
|
||||
var url=ctx+"/specific/specificServiceCfg/isCodeNotRepeat";
|
||||
var val=true;
|
||||
$.ajax({
|
||||
url:url,
|
||||
type:"post",
|
||||
async:false,
|
||||
data:{
|
||||
parentId:parentId,
|
||||
specServiceCode:specServiceCode,
|
||||
cfgType:cfgType,
|
||||
specServiceId:specServiceId
|
||||
},
|
||||
success:function(data){
|
||||
val=data;
|
||||
}
|
||||
});
|
||||
return val;
|
||||
});
|
||||
//ip v4转数字
|
||||
var ipToNumber=function (ip){
|
||||
var num =0;
|
||||
|
||||
Reference in New Issue
Block a user