/** * Created by Tony on 2018/4/24. */ let rptPrintHelper = { preview: function () { if (zTreeOprObj.currentRptPageRst) { // window.location.href = '/rpt_print'; sessionStorage.currentPageData = JSON.stringify(zTreeOprObj.currentRptPageRst); sessionStorage.pageSize = rptControlObj.getCurrentPageSize(); sessionStorage.orientation = rptControlObj.getCurrentOrientation(); window.open('/rpt_print'); } else { sessionStorage.currentPageData = null; } }, print: function () { // } };