|
@@ -425,7 +425,7 @@ export const printBase64Fun = function (url, params, type, taskName, callback, p
|
|
if (type == 'orginPrint' || type == 'orginPreview') {
|
|
if (type == 'orginPrint' || type == 'orginPreview') {
|
|
winPrintPdf(res, type, callback)
|
|
winPrintPdf(res, type, callback)
|
|
} else {
|
|
} else {
|
|
- jGPrintBase64Pdf(res.data[0], type, taskName, printLogParams, callback, hidePrint)
|
|
|
|
|
|
+ jGPrintBase64Pdf(res.data, type, taskName, printLogParams, callback, hidePrint)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -478,7 +478,10 @@ export const jGPrintBase64Pdf = function (dataurl, type, taskName, printLogParam
|
|
callback()
|
|
callback()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- LODOP.ADD_PRINT_PDF(0, 0, '100%', '100%', dataurl)
|
|
|
|
|
|
+ for(let i=0;i<dataurl.length;i++){
|
|
|
|
+ LODOP.NewPageA()
|
|
|
|
+ LODOP.ADD_PRINT_PDF(0, 0, '100%', '100%', dataurl[i])
|
|
|
|
+ }
|
|
LODOP.SET_PRINT_PAGESIZE(3, 2090, 30, '')
|
|
LODOP.SET_PRINT_PAGESIZE(3, 2090, 30, '')
|
|
if (type == 'preview') { // 预览
|
|
if (type == 'preview') { // 预览
|
|
LODOP.PREVIEW()
|
|
LODOP.PREVIEW()
|