Index: ssts-web/src/main/webapp/jasperRtp/jasperreportsView.jsp =================================================================== diff -u -r29513 -r35478 --- ssts-web/src/main/webapp/jasperRtp/jasperreportsView.jsp (.../jasperreportsView.jsp) (revision 29513) +++ ssts-web/src/main/webapp/jasperRtp/jasperreportsView.jsp (.../jasperreportsView.jsp) (revision 35478) @@ -45,8 +45,8 @@ #abg { font-size:14px; } +.noprint{display : none } - @@ -114,6 +114,10 @@ int pageIndex = 0; int lastPageIndex = 0; String timeStamp = request.getParameter("currentTime"); + String isPrint = request.getParameter("isPrint"); + String hidePrintBtn = request.getParameter("hidePrintBtn"); + request.setAttribute("isPrint",isPrint); + request.setAttribute("hidePrintBtn",hidePrintBtn); String reportName = ""; //报表的名称 //是否启用报表导出html或pdf功能,1显示报表导出pdf图标 2显示报表导出html图标 3都显示 JSONObject sstsConfig = CssdUtils.getWebConfigInfo(); @@ -178,9 +182,18 @@ - <%-- 分页导航栏 --%> + <% + if("true".equals(isPrint)){ + %> +
+ <% + }else{ + %>
+ <% + } + %>
@@ -200,7 +213,7 @@ } %> <% - if (!reportName.equals("apparatusInfusionisType")) { + if (!reportName.equals("apparatusInfusionisType") && !"true".equals(hidePrintBtn)) { %> <%-- --%>