yangle
2023-12-12 bcb9d3000b0cd83e3eed468236be133d430b9852
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/HBarPlanPrint.html
@@ -1,7 +1,8 @@
<!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>
@@ -14,42 +15,42 @@
    </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>