拦截默认单域默认展示,去掉do_log和logtotal
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
onClick="delContent('${tabName}${status.index}','${tabName}Add');" />
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<c:if test="${!empty region.configDistrict }">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
@@ -19,7 +19,10 @@
|
||||
setInterceptDefaultInfo("");
|
||||
$("#serviceId").val($(this).attr("serviceId"));
|
||||
$("#protocolId").val($(this).attr("protocolId"));
|
||||
openSingleBoxsolid();
|
||||
|
||||
});
|
||||
openSingleBoxsolid();
|
||||
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
||||
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
||||
$(".ratelimitAction").find("input[name='userRegion1']").on("change",function(){
|
||||
@@ -141,6 +144,14 @@
|
||||
}); */
|
||||
$("." + addBtnClassName).removeClass("hidden");
|
||||
}
|
||||
//单域默认展开且不可关闭
|
||||
var openSingleBoxsolid = function() {
|
||||
var boxsolidLenth=$(".boxSolid").prev(".form-section:visible").length;
|
||||
if(boxsolidLenth == 1){
|
||||
$(".boxSolid").prev(".form-section:visible").find("span[title=add]").click();
|
||||
$(".boxSolid").prev(".form-section:visible").next(".boxSolid").find("span[title=remove]").addClass("hidden");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -180,8 +191,10 @@
|
||||
<input type="hidden" name="cfgId" value="${_cfg.cfgId}">
|
||||
<input type="hidden" name="compileId" value="${_cfg.compileId}">
|
||||
<input type="hidden" name="functionId" value="${_cfg.functionId}">
|
||||
<input type="hidden" id="serviceId" name="serviceId"
|
||||
value="${_cfg.serviceId}">
|
||||
<input type="hidden" id="serviceId" name="serviceId" value="${_cfg.serviceId}">
|
||||
<input type="hidden" name="doLog" value="0">
|
||||
<input type="hidden" id="regionSize" name="regionSize"
|
||||
value="${fn:length(regionList)}">
|
||||
|
||||
<div class="form-body">
|
||||
|
||||
@@ -224,30 +237,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- dolog begin-->
|
||||
<div class="row doLog">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><spring:message code="do_log" /></label>
|
||||
<c:forEach items="${fns:getDictList('DO_LOG') }" var="dict">
|
||||
<c:choose>
|
||||
<c:when test="${dict.itemCode eq _cfg.doLog}">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="doLog" checked value="${dict.itemCode}" ><spring:message code="${dict.itemValue}"/>
|
||||
</label>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="doLog" value="${dict.itemCode}" ><spring:message code="${dict.itemValue}"/>
|
||||
</label>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</c:forEach>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- dolog end-->
|
||||
<%-- action 为1 监测时 可以选择证书--%>
|
||||
<div class="row monitAction hidden">
|
||||
<div class="col-md-6">
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
onClick="delContent('${tabName}${status.index}','${tabName}Add');" />
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user