(1)特定服务管理UL修改

(2)特定服务管理加入协议号重复验证,有上级配置则上级配置的所有下级配置ID不能重复,无上级配置一级配置ID不能重复
(3)取消jBox的Cookie打印
This commit is contained in:
wangxin
2018-07-30 09:15:36 +08:00
parent 78e47ac599
commit 32b67d31f3
10 changed files with 228 additions and 111 deletions

View File

@@ -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;