Parcourir la source

删除已废弃的print.html页面

sunyj il y a 9 ans
Parent
commit
555e6a851d

+ 0 - 12
src/main/webapp/WEB-INF/views/print.html

@@ -1,12 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="UTF-8">
-<title>Report Print</title>
-</head>
-<body>
-</body>
-<script src="static/lib/jquery/jquery.min.js"></script>
-<script src="static/js/print/utils.js"></script>
-<script src="static/js/print/app.js"></script>
-</html>

+ 0 - 26
src/main/webapp/resources/js/print/app.js

@@ -1,26 +0,0 @@
-var printType = getParameter("printType");
-// 无该参数,默认为PREVIEW
-if (!printType || printType == 0) {
-	printType = 'PREVIEW';
-}
-
-// 预览或者进入预览页后打印
-if (printType == 'PREVIEW' || printType == 'PRINT') {
-	window.location.href = "preview" + window.location.search;
-}
-// 导出pdf
-else if (printType == 'PDF') {
-	window.location = downloadUrl("pdf");
-	setTimeout("closeWindow()", 3000);
-}
-// 导出纯数据excel
-else if (printType == 'EXCEL') {
-	window.location = downloadUrl("xls_with_only_data");
-	setTimeout("closeWindow()", 3000);
-}
-
-var closeWindow = function() {
-	window.opener = null;
-	window.open('', '_self');
-	window.close();
-};