|
@@ -397,7 +397,7 @@ export const jGPrintPdf = function (data, type, taskName, printLogParams, callba
|
|
|
}
|
|
|
}
|
|
|
LODOP.ADD_PRINT_PDF(0, 0, '100%', '100%', dataurl.replace('data:application/pdf;base64,', ''))
|
|
|
- LODOP.SET_PRINT_PAGESIZE(3, 2090, 30, '')
|
|
|
+
|
|
|
if (type == 'preview') { // 预览
|
|
|
LODOP.PREVIEW()
|
|
|
} else if (type == 'print') { // 打印
|
|
@@ -482,7 +482,7 @@ export const jGPrintBase64Pdf = function (dataurl, type, taskName, printLogParam
|
|
|
LODOP.NewPageA()
|
|
|
LODOP.ADD_PRINT_PDF(0, 0, '100%', '100%', dataurl[i])
|
|
|
}
|
|
|
- LODOP.SET_PRINT_PAGESIZE(3, 2090, 30, '')
|
|
|
+
|
|
|
if (type == 'preview') { // 预览
|
|
|
LODOP.PREVIEW()
|
|
|
} else if (type == 'print') { // 打印
|