| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="renderer" content="ie-comp" /> |
| | | <title>æå°</title> |
| | | <script src="../../CreateControl.js"></script> |
| | | <script src="../../GRInstall.js"></script> |
| | |
| | | </style> |
| | | <script type="text/javascript"> |
| | | |
| | | function getUrlVars() { |
| | | var vars = [], hash; |
| | | var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); |
| | | for (var i = 0; i < hashes.length; i++) { |
| | | hash = hashes[i].split('='); |
| | | vars.push(hash[0]); |
| | | vars[hash[0]] = hash[1]; |
| | | function getUrlVars() { |
| | | var vars = [], hash; |
| | | var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); |
| | | for (var i = 0; i < hashes.length; i++) { |
| | | hash = hashes[i].split('='); |
| | | vars.push(hash[0]); |
| | | vars[hash[0]] = hash[1]; |
| | | } |
| | | return vars; |
| | | } |
| | | return vars; |
| | | } |
| | | //å¨ç½é¡µåå§å è½½æ¶åæ¥è¡¨æä¾æ°æ® |
| | | function window_onload() { |
| | | var ReportViewer = document.getElementById("ReportViewer"); |
| | | // ReportViewer.Stop(); |
| | | var Report = ReportViewer.Report; |
| | | //å¼å¯æ¥è¡¨çæè¿åº¦æ¡æ¾ç¤º |
| | | //ReportViewer.Report.ShowProgressUI = true; |
| | | Report.OnPrintBegin = OnPrintBegin; |
| | | Report.OnPrintEnd = OnPrintEnd; |
| | | //å¨ç½é¡µåå§å è½½æ¶åæ¥è¡¨æä¾æ°æ® |
| | | function window_onload() { |
| | | var ReportViewer = document.getElementById("ReportViewer"); |
| | | // ReportViewer.Stop(); |
| | | var Report = ReportViewer.Report; |
| | | //å¼å¯æ¥è¡¨çæè¿åº¦æ¡æ¾ç¤º |
| | | //ReportViewer.Report.ShowProgressUI = true; |
| | | Report.OnPrintBegin = OnPrintBegin; |
| | | Report.OnPrintEnd = OnPrintEnd; |
| | | |
| | | ReportViewer.Start(); |
| | | } |
| | | //function OnPrintEnd() { |
| | | // if (PrintCount == 0) { |
| | | // var LCStatus = sessionStorage.getItem("LCStatus"); |
| | | // if (LCStatus == "Print")//æå°ç¶æ |
| | | // { |
| | | // SaveLabelPrint(sessionStorage.getItem("LabelJson")); |
| | | // PrintCount = 1; |
| | | // } |
| | | // } |
| | | ReportViewer.Start(); |
| | | } |
| | | //function OnPrintEnd() { |
| | | // if (PrintCount == 0) { |
| | | // var LCStatus = sessionStorage.getItem("LCStatus"); |
| | | // if (LCStatus == "Print")//æå°ç¶æ |
| | | // { |
| | | // SaveLabelPrint(sessionStorage.getItem("LabelJson")); |
| | | // PrintCount = 1; |
| | | // } |
| | | // } |
| | | |
| | | //} |
| | | //function OnPrintBegin() { |
| | | //} |
| | | //function OnPrintBegin() { |
| | | |
| | | //} |
| | | //} |
| | | </script> |
| | | </head> |
| | | <body> |