1.操控配置去除Block Method 2.修改Block配置下发userRegion

This commit is contained in:
zhangwenqing
2019-05-27 18:17:40 +08:00
parent dd31466774
commit 84c10eac7d
8 changed files with 37 additions and 35 deletions

View File

@@ -98,11 +98,11 @@
<spring:message code="method" />
</label>
<div class="col-md-6">
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${dict.itemCode == 16 || dict.itemCode == 48 || dict.itemCode == 80 }">
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict" varStatus="status">
<c:if test="${dict.itemCode == 48 || dict.itemCode == 80 }">
<label class="radio-inline">
<input type="radio" name="manipulatType" class="userRegion5" value="${dict.itemCode }" class="required"
<c:if test="${dict.itemCode == 16}">checked</c:if>>
<c:if test="${dict.itemCode == 48}">checked</c:if>>
<spring:message code="${dict.itemValue }"/>
</label>
</c:if>

View File

@@ -21,11 +21,11 @@
<spring:message code="method" />
</label>
<div class="col-md-8">
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${dict.itemCode == 16 || dict.itemCode == 48 || dict.itemCode == 80 }">
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict" varStatus="status">
<c:if test="${dict.itemCode == 48 || dict.itemCode == 80 }">
<label class="radio-inline">
<input type="radio" name="userRegion5" class="userRegion5" value="${dict.itemCode }" class="required"
<c:if test="${_cfg.userRegion5 == dict.itemCode || (_cfg.userRegion5==null && dict.itemCode==16)}">checked</c:if>>
<c:if test="${_cfg.userRegion5 == dict.itemCode || (_cfg.userRegion5==null && dict.itemCode==48)}">checked</c:if>>
<spring:message code="${dict.itemValue }"/>
</label>
</c:if>

View File

@@ -211,7 +211,7 @@
</c:forEach> --%>
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${dict.itemCode == 16 || dict.itemCode == 48 || dict.itemCode == 80 }">
<c:if test="${dict.itemCode == 48 || dict.itemCode == 80 }">
<form:option value="${dict.itemCode }"><spring:message code="${dict.itemValue }"/></form:option>
</c:if>
</c:forEach>
@@ -398,7 +398,7 @@
<th><spring:message code="method"/></th>
<th><spring:message code="response_code"/></th>
<th><spring:message code="response_content"/></th>
<%-- <th><spring:message code="response_content"/></th> --%>
<th><spring:message code="redirect_url"/></th>
<th><spring:message code="replace_zone"/></th>
<th><spring:message code="replaced_content"/></th>
@@ -447,7 +447,7 @@
<spring:message code="action_insert"/>
</c:if>
</td>
<c:if test="${indexCfg.userRegion5 == 16}">
<%-- <c:if test="${indexCfg.userRegion5 == 16}">
<td>
<c:forEach items="${fns:getDictList('RESPONSE_CODE') }" var="dict1">
<c:if test="${dict1.itemCode eq indexCfg.userRegion1 }">
@@ -471,7 +471,7 @@
<td></td>
<td></td>
<td></td>
</c:if>
</c:if> --%>
<c:if test="${indexCfg.userRegion5 == 48}">
<td>
<c:forEach items="${fns:getDictList('REDIRECT_RESPONSE_CODE') }" var="dict2">
@@ -481,7 +481,6 @@
</c:if>
</c:forEach>
</td>
<td></td>
<td <c:if test="${not empty indexCfg.userRegion2 }"> title="${indexCfg.userRegion2 }"</c:if>><!-- 重定向 响应内容 userRegion3 不为空 响应文件-->
<c:if test="${not empty indexCfg.userRegion2 }">${fns:abbr(indexCfg.userRegion2,20)}</c:if>
<%-- <c:if test="${not empty indexCfg.userRegion3 }">
@@ -499,7 +498,6 @@
</c:if>
<c:if test="${indexCfg.userRegion5 == 80}">
<td></td>
<td></td>
<td></td>
<td>
@@ -520,7 +518,6 @@
<td></td>
<td></td>
<td></td>
<td></td>
<td>
<c:if test="${not empty indexCfg.userRegion4 }">
<c:forEach items="${allHijackFiles}" var="file">