1、去掉文件策略 action

2、调整service 接口
This commit is contained in:
fangshunjian
2018-08-23 10:03:25 +08:00
parent f2e72bef46
commit 76b9a732e0
10 changed files with 57 additions and 50 deletions

View File

@@ -44,8 +44,8 @@
<option value=""><spring:message code="select"/></option>
<c:forEach items="${allProxyFileStrategys}" var="file">
<c:if test="${file.isValid!=0 and file.isAudit!=3}">
<option action="${file.action }" value="${file.fileId}"
<c:if test="${file.fileId==_cfg.userRegion3}">selected</c:if>>${file.fileDesc}</option>
<option action="${file.action }" value="${file.compileId}"
<c:if test="${file.compileId==_cfg.userRegion3}">selected</c:if>>${file.fileDesc}</option>
</c:if>
</c:forEach>
</select>
@@ -53,14 +53,14 @@
<div for="userRegion2"></div>
<script type="text/javascript">
$(function(){
//清除没用的 file 信息
/*//清除没用的 file 信息
var action = $("input[name='action']").val();
$("#responseFile option").each(function(i,n){
var oa = $(this).attr("action");
if(oa != action && i != 0){
$(this).remove();
}
});
}); */
//页面加载时触发初始化操作
var file = $("#responseFile").val();
if(file){
@@ -124,22 +124,22 @@
<option value=""><spring:message code="select"/></option>
<c:forEach items="${allProxyFileStrategys}" var="file">
<c:if test="${file.isValid!=0 and file.isAudit!=3}">
<option action="${file.action }" value="${file.fileId}"
<c:if test="${file.fileId==_cfg.userRegion3}">selected</c:if>>${file.fileDesc}</option>
<option action="${file.action }" value="${file.compileId}"
<c:if test="${file.compileId==_cfg.userRegion3}">selected</c:if>>${file.fileDesc}</option>
</c:if>
</c:forEach>
</select>
</div>
<script type="text/javascript">
$(function(){
//清除没用的 file 信息
/* //清除没用的 file 信息
var action = $("input[name='action']").val();
$("#responseFile option").each(function(i,n){
var oa = $(this).attr("action");
if(oa != action && i != 0){
$(this).remove();
}
});
}); */
//页面加载时触发初始化操作
var code = $("#redirectResponseCode").val();
if(code == 200){//响应文件

View File

@@ -563,7 +563,7 @@
<c:if test="${not empty indexCfg.userRegion2 }">${indexCfg.userRegion2 }</c:if>
<c:if test="${not empty indexCfg.userRegion3 }">
<c:forEach items="${allProxyFileStrategys}" var="file">
<c:if test="${file.fileId eq indexCfg.userRegion3}">
<c:if test="${file.compileId eq indexCfg.userRegion3}">
<a href="${file.url }" target="_blank">${file.fileDesc }</a>
</c:if>
</c:forEach>
@@ -583,7 +583,7 @@
<c:if test="${not empty indexCfg.userRegion2 }">${indexCfg.userRegion2 }</c:if>
<c:if test="${not empty indexCfg.userRegion3 }">
<c:forEach items="${allProxyFileStrategys}" var="file">
<c:if test="${file.fileId eq indexCfg.userRegion3}">
<c:if test="${file.compileId eq indexCfg.userRegion3}">
<a href="${file.url }" target="_blank">${file.fileDesc }</a>
</c:if>
</c:forEach>

View File

@@ -114,7 +114,7 @@
</div>
</div>
<div class="col-md-6">
<div class="col-md-6 hidden">
<div class="form-group">
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="action"/></label>
<div class="col-md-6">

View File

@@ -271,7 +271,7 @@
<th><spring:message code="file_desc"/></th>
<th><spring:message code="content_type"/></th>
<th><spring:message code="content_length"/></th>
<th><spring:message code="block_type"/></th>
<%-- <th><spring:message code="block_type"/></th> --%>
<th><spring:message code="letter"/></th>
<th><spring:message code="classification"/></th>
<th><spring:message code="attribute"/></th>
@@ -295,13 +295,13 @@
<td><a href="${indexCfg.url }" target="_blank">${indexCfg.fileDesc }</a></td>
<td>${indexCfg.contentType }</td>
<td>${indexCfg.contentLength }</td>
<td>
<%-- <td>
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
<c:if test="${dict.itemCode eq indexCfg.action }">
<spring:message code="${dict.itemValue }"/>
</c:if>
</c:forEach>
</td>
</td> --%>
<td>${indexCfg.requestName }</td>
<td>
<c:set var="classify"></c:set>