日志总量查询修复
This commit is contained in:
@@ -82,6 +82,7 @@
|
||||
$(this).find("[name='parent.specServiceId']").removeAttr("name");
|
||||
$(this).find("[name='parent.specServiceName']").removeAttr("name");
|
||||
$(this).find("[name='businessType']").removeAttr("name");
|
||||
$(this).find("[name='specServiceCode']").removeAttr("name");
|
||||
}else{
|
||||
var cfgType=$(this).attr("cfgType");
|
||||
if("${specificServiceCfg.parent.specServiceId}"&& "${specificServiceCfg.parent.specServiceId}"!="0"){
|
||||
@@ -91,7 +92,7 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
||||
}else{
|
||||
@@ -101,6 +102,7 @@
|
||||
$(this).find("[name='parent.specServiceId']").removeAttr("name");
|
||||
$(this).find("[name='parent.specServiceName']").removeAttr("name");
|
||||
$(this).find("[name='businessType']").removeAttr("name");
|
||||
$(this).find("[name='specServiceCode']").removeAttr("name");
|
||||
}else{
|
||||
var cfgType=$(this).attr("cfgType");
|
||||
if("${specificServiceCfg.parent.specServiceId}"&& "${specificServiceCfg.parent.specServiceId}"!="0"){
|
||||
@@ -112,15 +114,15 @@
|
||||
}
|
||||
});
|
||||
if($("[name='cfgType']").val()==1){
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
||||
}else if($("[name='cfgType']").val()==2){
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="tunnel_desc"/>:');
|
||||
}else{
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="protocol_desc"/>:');
|
||||
}
|
||||
@@ -133,6 +135,7 @@
|
||||
$("#specificServiceCfg"+cfgType+"Id").attr("name","parent.specServiceId");
|
||||
$("#specificServiceCfg"+cfgType+"Name").attr("name","parent.specServiceName");
|
||||
$("#businessType"+cfgType).attr("name","businessType");
|
||||
$("#specServiceCode"+cfgType).attr("name","specServiceCode");
|
||||
if($(this).hasClass("businessType")){
|
||||
var parentId=$("#specificServiceCfg"+cfgType+"Id").val();
|
||||
if(parentId!=0){
|
||||
@@ -152,15 +155,15 @@
|
||||
}
|
||||
});
|
||||
if(cfgType==1){
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
||||
}else if(cfgType==2){
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="tunnel_desc"/>:');
|
||||
}else{
|
||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
||||
//$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
|
||||
$(".protocol_desc").html('<spring:message code="protocol_desc"/>:');
|
||||
}
|
||||
@@ -278,6 +281,33 @@
|
||||
</c:if>
|
||||
<div for="businessType"></div>
|
||||
</div>
|
||||
<c:if test="${dict.itemCode==1}">
|
||||
<div class="form-group cfgType specServiceCode">
|
||||
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="app_code"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<input id="specServiceCode${dict.itemCode}" name="specServiceCode" maxlength="50" range="[0,2147483647]" class="form-control required digits specServiceCodeCheck" value="${specificServiceCfg.specServiceCode}" ctx="${ctx}"/>
|
||||
</div>
|
||||
<div for="specServiceCode"></div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${dict.itemCode==2}">
|
||||
<div class="form-group cfgType">
|
||||
<label class="col-md-3 control-label protocol_code"><font color="red">*</font><spring:message code="protocol_code"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<input id="specServiceCode${dict.itemCode}" name="specServiceCode" maxlength="50" range="[0,2147483647]" class="form-control required digits specServiceCodeCheck" value="${specificServiceCfg.specServiceCode}" ctx="${ctx}"/>
|
||||
</div>
|
||||
<div for="specServiceCode"></div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:if test="${dict.itemCode==3}">
|
||||
<div class="form-group cfgType">
|
||||
<label class="col-md-3 control-label protocol_code"><font color="red">*</font><spring:message code="tunnel_code"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<input id="specServiceCode${dict.itemCode}" name="specServiceCode" maxlength="50" range="[0,2147483647]" class="form-control required digits specServiceCodeCheck" value="${specificServiceCfg.specServiceCode}" ctx="${ctx}"/>
|
||||
</div>
|
||||
<div for="specServiceCode"></div>
|
||||
</div>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label protocol_code"><font color="red">*</font><spring:message code="protocol_code"/>:</label>
|
||||
|
||||
Reference in New Issue
Block a user