|
@@ -102,7 +102,7 @@ async function printPageLoading() {
|
|
|
restoreSignCells(pageData, dtlSignCells, null, null, isTextSignature, false);
|
|
|
// let orientation = "纵向";
|
|
|
let orientation = "横向";
|
|
|
- showPreviewData(svgArr, actArea, scaleFactor, sessionStorage.pageSize, orientation, orgPixelSize, true);
|
|
|
+ showPreviewData(svgArr, actArea, scaleFactor, PAGE_SIZE, orientation, orgPixelSize, true);
|
|
|
}
|
|
|
// window.print();
|
|
|
},
|
|
@@ -134,7 +134,7 @@ function printPageDirectLoading() {
|
|
|
// let orientation = "纵向";
|
|
|
let orientation = "横向";
|
|
|
let scaleFactor = 1;
|
|
|
- showPreviewData(svgArr, actArea, scaleFactor, sessionStorage.pageSize, orientation, orgPixelSize, true);
|
|
|
+ showPreviewData(svgArr, actArea, scaleFactor, PAGE_SIZE, orientation, orgPixelSize, true);
|
|
|
}
|
|
|
|
|
|
function showPreviewData(svgArr, actAreaArr, scaleFactor, pageSize, orientation, orgPixelSize, keepOrgDirection = false) {
|
|
@@ -246,7 +246,7 @@ function actualPrintPage() {
|
|
|
allDivs[idx].remove();
|
|
|
}
|
|
|
PRINT_SVG_DATA.forEach((svgArr, index) => {
|
|
|
- showPreviewData(svgArr, ACT_AREA[index], 1, sessionStorage.pageSize, '纵向', ORG_PIXEL_SIZE[index]);
|
|
|
+ showPreviewData(svgArr, ACT_AREA[index], 1, PAGE_SIZE, '纵向', ORG_PIXEL_SIZE[index]);
|
|
|
});
|
|
|
$("#print_preview_div")[0].style.display = 'none';
|
|
|
window.print();
|