修改是否记录日志默认值

This commit is contained in:
zhanghongqing
2018-08-21 10:25:23 +08:00
parent 0b6aaa3f9e
commit 049b2aa893
4 changed files with 5 additions and 40 deletions

View File

@@ -196,10 +196,8 @@
<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:if test="${empty _cfg.cfgId}">
<c:choose>
<c:when test="${dict.itemValue eq 'framework_log'}">
<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>
@@ -210,22 +208,6 @@
</label>
</c:otherwise>
</c:choose>
</c:if>
<!-- 修改 -->
<c:if test="${!empty _cfg.cfgId}">
<c:choose>
<c:when test="${dict.itemCode == _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:if>
</c:forEach>
</div>
</div>

View File

@@ -199,10 +199,8 @@
<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:if test="${empty _cfg.cfgId}">
<c:choose>
<c:when test="${dict.itemValue eq 'framework_log'}">
<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>
@@ -213,22 +211,7 @@
</label>
</c:otherwise>
</c:choose>
</c:if>
<!-- 修改 -->
<c:if test="${!empty _cfg.cfgId}">
<c:choose>
<c:when test="${dict.itemCode == _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:if>
</c:forEach>
</div>
</div>