From 301fa50606bd78e63562ee26b961f55d1ecbb0d2 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Fri, 9 Nov 2018 15:10:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=BB=9F=E8=AE=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=BB=98=E8=AE=A4=E8=AE=BE=E7=BD=AE=E6=97=B6=E9=97=B4?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E4=BB=A5=E7=82=B9=E5=87=BB=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TrafficStatisticsReportController.java | 6 +++ .../views/dashboard/trafficUserBehavior.jsp | 50 +++++++++++++++---- 2 files changed, 47 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java b/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java index e66608cec..af5177678 100644 --- a/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java +++ b/src/main/java/com/nis/web/controller/dashboard/TrafficStatisticsReportController.java @@ -68,6 +68,12 @@ public class TrafficStatisticsReportController extends BaseController { endTime=DateUtils.getDateTime(); bean.setSearchFoundStartTime(statTime); bean.setSearchFoundEndTime(endTime); + statTime=URLEncoder.encode(statTime, "UTF-8"); + endTime=URLEncoder.encode(endTime, "UTF-8"); + String paramUrl="&searchReportStartTime="+statTime+"&searchReportEndTime="+endTime; + destUrl=destUrl+paramUrl; + userUrl=userUrl+paramUrl; + ipUrl=ipUrl+paramUrl; }else { statTime=URLEncoder.encode(statTime, "UTF-8"); endTime=URLEncoder.encode(endTime, "UTF-8"); diff --git a/src/main/webapp/WEB-INF/views/dashboard/trafficUserBehavior.jsp b/src/main/webapp/WEB-INF/views/dashboard/trafficUserBehavior.jsp index 016663c33..5e713da88 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/trafficUserBehavior.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/trafficUserBehavior.jsp @@ -6,6 +6,11 @@ <spring:message code="traffic_user_behavior"></spring:message> + @@ -162,7 +194,7 @@ - + @@ -260,7 +292,7 @@ - + @@ -275,7 +307,7 @@ --%> - +
@@ -284,7 +316,7 @@ - + @@ -322,7 +354,7 @@
- : ">${us.reportTime} + : ">${us.reportTime}
@@ -362,7 +394,7 @@
- + @@ -377,7 +409,7 @@
${data.account}${data.account}
--%> - +
@@ -387,7 +419,7 @@ - + @@ -426,7 +458,7 @@
- : ">${it.reportTime} + : ">${it.reportTime}
${data.nasIp}${data.nasIp}