拦截域名更改:

进允许无表达式,同时进允许右匹配
修改域名拦截列表中,所有属性判断均使用expr的bug
This commit is contained in:
duandongmei
2018-08-13 10:02:11 +08:00
parent e09f7ce436
commit 246ee9ec9a
2 changed files with 10 additions and 6 deletions

View File

@@ -180,7 +180,7 @@
<div class="form-group"> <div class="form-group">
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="expression_type"/></label> <label class="control-label col-md-3"><font color="red">*</font><spring:message code="expression_type"/></label>
<div class="col-md-6"> <div class="col-md-6">
<label class="radio-inline"> <label class="radio-inline hidden">
<input type="radio" name="exprType" value="1" class="required" <input type="radio" name="exprType" value="1" class="required"
<c:if test="${_cfg.exprType==1}">checked</c:if> <c:if test="${_cfg.exprType==1}">checked</c:if>
><spring:message code="and_expression"/> ><spring:message code="and_expression"/>
@@ -200,7 +200,11 @@
<div class="col-md-6"> <div class="col-md-6">
<select name="matchMethod" class="selectpicker select2 form-control required" > <select name="matchMethod" class="selectpicker select2 form-control required" >
<c:forEach items="${fns:getDictList('MATCH_METHOD')}" var="matchMethodC"> <c:forEach items="${fns:getDictList('MATCH_METHOD')}" var="matchMethodC">
<option value="${matchMethodC.itemCode}" <c:if test="${_cfg.matchMethod==matchMethodC.itemCode || (_cfg.matchMethod==null && matchMethodC.itemCode==3)}">selected</c:if>><spring:message code="${matchMethodC.itemValue}"/></option> <c:if test="${matchMethodC.itemCode eq 1}">
<option value="${matchMethodC.itemCode}" selected >
<spring:message code="${matchMethodC.itemValue}"/>
</option>
</c:if>
</c:forEach> </c:forEach>
</select> </select>
</div> </div>

View File

@@ -311,18 +311,18 @@
</td> </td>
<td> <td>
<c:forEach items="${fns:getDictList('MATCH_METHOD')}" var="matchC"> <c:forEach items="${fns:getDictList('MATCH_METHOD')}" var="matchC">
<c:if test="${cfg.exprType eq matchC.itemCode}"><spring:message code="${matchC.itemValue }"/></c:if> <c:if test="${cfg.matchMethod eq matchC.itemCode}"><spring:message code="${matchC.itemValue }"/></c:if>
</c:forEach> </c:forEach>
</td> </td>
<td> <td>
<c:forEach items="${fns:getDictList('WHETHER_HEXBINARY')}" var="hexC"> <c:forEach items="${fns:getDictList('WHETHER_HEXBINARY')}" var="hexC">
<c:if test="${cfg.exprType eq hexC.itemCode}"><spring:message code="${hexC.itemValue }"/></c:if> <c:if test="${cfg.isHexbin eq hexC.itemCode}"><spring:message code="${hexC.itemValue }"/></c:if>
</c:forEach> </c:forEach>
</td> </td>
<td> <td>
<c:forEach items="${fns:getDictList('WHETHER_AREA_BLOCK')}" var="areaC"> <c:forEach items="${fns:getDictList('WHETHER_AREA_BLOCK')}" var="areaC">
<c:if test="${cfg.exprType eq areaC.itemCode and areaC.itemValue eq 'no'}"><spring:message code="${areaC.itemValue }"/></c:if> <c:if test="${cfg.isAreaEffective eq areaC.itemCode and areaC.itemValue eq 'no'}"><spring:message code="${areaC.itemValue }"/></c:if>
<c:if test="${cfg.exprType eq areaC.itemCode and areaC.itemValue eq 'yes'}"> <c:if test="${cfg.isAreaEffective eq areaC.itemCode and areaC.itemValue eq 'yes'}">
<a href="javascript:viewAreaInfo('${ctx }','${cfg.areaEffectiveIds }','${cfg.compileId }')" > <a href="javascript:viewAreaInfo('${ctx }','${cfg.areaEffectiveIds }','${cfg.compileId }')" >
<spring:message code="${areaC.itemValue }"/> <spring:message code="${areaC.itemValue }"/>
</a> </a>