|
|
@@ -15,6 +15,14 @@ getWindowWidth();
|
|
|
loadPdfData();
|
|
|
getDocument();
|
|
|
|
|
|
+//是否立即打印
|
|
|
+var printType = getParameter("printType");
|
|
|
+if (printType && printType == 'PRINT') {
|
|
|
+ hiddenframe.onload = function() {
|
|
|
+ hiddenframe.contentWindow.print();
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
// 上页
|
|
|
$("#prev").click(function() {
|
|
|
if (pageIndex <= 1) {
|