增加策略号值、唯一性,http请求响应替换内容的国际化
修改bgp、响应策略、图片url遮盖层显示位置 修改voip界面账号的国际化显示内容
This commit is contained in:
@@ -35,6 +35,7 @@ $(function(){
|
||||
})
|
||||
if(flag){
|
||||
$("input[name$='exprType']").attr("disabled",false);
|
||||
loading('onloading...');
|
||||
form.submit();
|
||||
}
|
||||
},
|
||||
|
||||
@@ -26,12 +26,12 @@ $(function(){
|
||||
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
|
||||
},
|
||||
submitHandler: function(form){
|
||||
loading('onloading...');
|
||||
//代表所有业务都隐藏了,提示必须增加一种业务数据
|
||||
if($(".boxSolid").length ==$(".boxSolid.hidden").length){
|
||||
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
|
||||
return;
|
||||
}
|
||||
loading('onloading...');
|
||||
form.submit();
|
||||
},
|
||||
errorContainer: "#messageBox",
|
||||
@@ -177,7 +177,7 @@ var delContent=function(contentClassName,addBtnClassName){
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="key_word"/></label>
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="account"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required" type="text" name="voipAccounts[${status.index }].cfgKeywords" value="${voipAccount.cfgKeywords}">
|
||||
</div>
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
html+="<div class='row'>";
|
||||
html+="<div class='col-md-4'>";
|
||||
html+="<div class='form-group'>";
|
||||
html+="<label><spring:message code='key_word'/>:</label>";
|
||||
html+="<label><spring:message code='account'/>:</label>";
|
||||
html+="<label>"
|
||||
html+=item.cfgKeywords.replace("***and***", " ");
|
||||
html+="</label>";
|
||||
@@ -438,7 +438,7 @@
|
||||
<form:option value="cfgDesc"><spring:message code="config_describe"></spring:message></form:option>
|
||||
<form:option value="voipIp.srcIpAddress"><spring:message code="client_ip"/></form:option>
|
||||
<form:option value="voipIp.srcPort"><spring:message code="client_port"/></form:option>
|
||||
<form:option value="voipAccount.cfgKeywords"><spring:message code="key_word"/></form:option>
|
||||
<form:option value="voipAccount."><spring:message code="account"/></form:option>
|
||||
</form:select>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -21,12 +21,12 @@ $(function(){
|
||||
}
|
||||
},
|
||||
submitHandler: function(form){
|
||||
loading('onloading...');
|
||||
var flag = true;
|
||||
var cfgId=$("#cfgId").val();
|
||||
var message="";
|
||||
if(cfgId <=100 && cfgId != 0){
|
||||
message="策略号值只能为0,或大于100";
|
||||
//message="策略号值只能为0,或大于100";
|
||||
message="<spring:message code='policy_number_value_valid'/>";
|
||||
flag=false;
|
||||
}
|
||||
if(flag){
|
||||
@@ -39,7 +39,8 @@ $(function(){
|
||||
success:function(data){
|
||||
if(data){
|
||||
flag=false;
|
||||
message="策略号已存在";
|
||||
//message="策略号已存在";
|
||||
message="<spring:message code='policy_number_value_unique'/>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,6 +56,7 @@ $(function(){
|
||||
$("#cfgId").attr("aria-invalid","true");
|
||||
}
|
||||
if(flag){
|
||||
loading('onloading...');
|
||||
form.submit();
|
||||
}
|
||||
},
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
+ "']").append(error);
|
||||
},
|
||||
submitHandler : function(form) {
|
||||
loading('onloading...');
|
||||
var flag = true;
|
||||
//代表所有业务都隐藏了,提示必须增加一种业务数据
|
||||
if($(".boxSolid").length ==$(".boxSolid.hidden").length){
|
||||
@@ -61,6 +60,7 @@
|
||||
$(this).remove();
|
||||
});
|
||||
$("input[name$='exprType']").attr("disabled",false);
|
||||
loading('onloading...');
|
||||
form.submit();
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ $(function(){
|
||||
})
|
||||
if(flag){
|
||||
$("input[name$='exprType']").attr("disabled",false);
|
||||
loading('onloading...');
|
||||
form.submit();
|
||||
}
|
||||
},
|
||||
|
||||
@@ -35,6 +35,7 @@ $(function(){
|
||||
})
|
||||
if(flag){
|
||||
$("input[name$='exprType']").attr("disabled",false);
|
||||
loading('onloading...');
|
||||
form.submit();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user