|
@@ -182,6 +182,10 @@ export const jGPrintPdf = function (data, type, taskName) {
|
|
|
// 已打印
|
|
|
if(Value){
|
|
|
console.log('已打印,统计打印次数')
|
|
|
+ const page = document.getElementsByTagName('iframe')[0]
|
|
|
+ page.onload = function(){
|
|
|
+ console.log(page,page.contentWindow.document.getElementsByTagName('button'))
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
LODOP.ADD_PRINT_PDF(0, 0, '100%', '100%', dataurl.replace('data:application/pdf;base64,', ''))
|