summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangwei <[email protected]>2019-06-24 13:26:24 +0800
committerwangwei <[email protected]>2019-06-24 13:26:24 +0800
commita97c2b51c05cb8b006447a73ce3cd743c2c40ae6 (patch)
tree0fec2c803b80a191df6cc2dfbd89712e786aa895
parent7ad3d9a80bd037e2cda0758918a2e1f897048cb6 (diff)
修复ResponsePage导出筛选无效bug、国际化字段更新
-rw-r--r--src/main/java/com/nis/domain/configuration/PxyObjKeyring.java2
-rw-r--r--src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp2
-rw-r--r--src/main/webapp/WEB-INF/views/cfg/proxy/fileResponsePage/list.jsp9
-rw-r--r--src/main/webapp/WEB-INF/views/cfg/proxy/fileTrafficMirror/list.jsp2
4 files changed, 11 insertions, 4 deletions
diff --git a/src/main/java/com/nis/domain/configuration/PxyObjKeyring.java b/src/main/java/com/nis/domain/configuration/PxyObjKeyring.java
index bff34e9ed..bd293de29 100644
--- a/src/main/java/com/nis/domain/configuration/PxyObjKeyring.java
+++ b/src/main/java/com/nis/domain/configuration/PxyObjKeyring.java
@@ -25,7 +25,7 @@ public class PxyObjKeyring extends BaseCfg<PxyObjKeyring> {
@ExcelField(title="expire_after",sort=5)
private Integer expireAfter;
private String publicKeyAlgo;
- @ExcelField(title="crl",sort=5)
+ @ExcelField(title="CRL",sort=5)
private String crl;
@ExcelField(title="issuer",sort=6)
private String issuer;
diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp
index aae4162aa..eedee2188 100644
--- a/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/intercept/strateagy/list.jsp
@@ -314,7 +314,7 @@
<th column="private_key_file" ><spring:message code="private_key_file"/></th>
<th column="public_key_file" ><spring:message code="public_key_file"/></th>
<th column="expire_after" ><spring:message code="expire_after"/></th>
- <th column="crl" ><spring:message code="CRL"/></th>
+ <th column="CRL" ><spring:message code="CRL"/></th>
<th column="issuer" ><spring:message code="issuer"/></th>
<th column="certificate_subject" ><spring:message code="certificate_subject"/></th>
<th column="not_before_time" ><spring:message code="not_before_time"/></th>
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/fileResponsePage/list.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/fileResponsePage/list.jsp
index 3fb6f4381..07f49890c 100644
--- a/src/main/webapp/WEB-INF/views/cfg/proxy/fileResponsePage/list.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/proxy/fileResponsePage/list.jsp
@@ -42,7 +42,12 @@
$("#"+closeId).hide();
$("#"+openId).show();
$("#"+closeId).parent().parent().next("tr").hide();
- });
+ });
+ if($("#exportType").val() != null && $("#exportType").val() != ""){
+ if($("#intype").val() != null && $("#intype").val() != ""){
+ $("#exportValue").val($("#intype").val());
+ }
+ }
});
</script>
@@ -72,6 +77,8 @@
<form:form id="searchForm" modelAttribute="cfg" action="${ctx}/proxy/fileResponsePage/list" method="post" class="form-search">
<input id="functionId" name="functionId" type="hidden" value="${cfg.functionId}"/>
<input id="audit" name="audit" type="hidden" value="${audit}"/>
+ <input id="exportType" type="hidden" value="${cfg.seltype}"/>
+ <input id="exportValue" type="hidden" value=""/>
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();" />
diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/fileTrafficMirror/list.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/fileTrafficMirror/list.jsp
index 86fd4ae2b..b9d93115a 100644
--- a/src/main/webapp/WEB-INF/views/cfg/proxy/fileTrafficMirror/list.jsp
+++ b/src/main/webapp/WEB-INF/views/cfg/proxy/fileTrafficMirror/list.jsp
@@ -93,7 +93,7 @@
<div class="input-group-btn">
<form:select path="seltype" class="selectpicker select2 input-small" >
- <form:option value="cfgDesc"><spring:message code="profile_name"></spring:message></form:option>
+ <form:option value="cfgDesc"><spring:message code="address_name"></spring:message></form:option>
<form:option value="isValid"><spring:message code="valid_identifier"></spring:message></form:option>
<form:option value="addrType"><spring:message code="mirror_addr_type"></spring:message></form:option>
<form:option value="compileIdNew"><spring:message code="cfg_id"></spring:message></form:option>