区域IP注释

摘要允许单独配置subscribe_id
This commit is contained in:
duandongmei
2018-08-26 15:26:53 +08:00
parent b79807ccf5
commit dcaebffeb1
2 changed files with 12 additions and 12 deletions

View File

@@ -123,7 +123,7 @@ $(function(){
</c:forEach> </c:forEach>
</div> </div>
<div class="hidden" id="areaIp"> <%-- <div class="hidden" id="areaIp">
<h4 class="form-section"><spring:message code="area"/> ip<small><span class="glyphicon glyphicon-plus" title="add"></span></small></h4> <h4 class="form-section"><spring:message code="area"/> ip<small><span class="glyphicon glyphicon-plus" title="add"></span></small></h4>
<div class="container-fluid hidden row"> <div class="container-fluid hidden row">
<div class="row"> <div class="row">
@@ -376,4 +376,4 @@ $(function(){
</div> </div>
</div> </div>
</c:forEach> </c:forEach>
</div> </div> --%>

View File

@@ -28,11 +28,11 @@
submitHandler : function(form) { submitHandler : function(form) {
var flag = true; var flag = true;
//代表所有业务都隐藏了,提示必须增加一种业务数据 //代表所有业务都隐藏了,提示必须增加一种业务数据
if($(".boxSolid").length ==$(".boxSolid.hidden").length){ /* if($(".boxSolid").length ==$(".boxSolid.hidden").length){
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>"); top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
return; return;
} } */
$("input[name$='cfgKeywords']").each(function(){ /* $("input[name$='cfgKeywords']").each(function(){
if($(this).val()==''){ if($(this).val()==''){
$(this).parents(".form-group").find( $(this).parents(".form-group").find(
"div[for='" "div[for='"
@@ -40,8 +40,8 @@
+ "']").html("<label id=\"cfgKeywordsError\" class=\"error\">"+$("#keywordError").text()+"</label>"); + "']").html("<label id=\"cfgKeywordsError\" class=\"error\">"+$("#keywordError").text()+"</label>");
flag = false; flag = false;
} }
}) }) */
$("select[name$='isHexbin']").each(function(){ /* $("select[name$='isHexbin']").each(function(){
var isHexbin=$(this).val(); var isHexbin=$(this).val();
if(isHexbin == 1){ //十六进制 if(isHexbin == 1){ //十六进制
var keywords=$("input[name$='"+$(this).attr("name").replace("isHexbin","cfgKeywords")+"']").val(); var keywords=$("input[name$='"+$(this).attr("name").replace("isHexbin","cfgKeywords")+"']").val();
@@ -53,16 +53,16 @@
flag = false; flag = false;
} }
} }
}); }); */
if(flag){ if(flag){
//将disable属性的元素删除 //将disable属性的元素删除
$(".disabled").each(function(){ /* $(".disabled").each(function(){
$(this).remove(); $(this).remove();
}); }); */
$("input[name$='exprType']").attr("disabled",false); $("input[name$='exprType']").attr("disabled",false);
if($("[name='behavCode']")&&$("[name='behavCode']").val()!=""){ /* if($("[name='behavCode']")&&$("[name='behavCode']").val()!=""){
$("input[name$='exprType']").val(1); $("input[name$='exprType']").val(1);
} } */
loading('onloading...'); loading('onloading...');
form.submit(); form.submit();
}else{ }else{