|
@@ -85,7 +85,7 @@ export const blobToBaseByPdf = function(data,callback){
|
|
}
|
|
}
|
|
|
|
|
|
// 打印html
|
|
// 打印html
|
|
-export const jGPrint = function (data, type, callback, printLogParams) {
|
|
|
|
|
|
+export const jGPrint = function (data, type, callback, printLogParams,printPageSize) {
|
|
if (!data) {
|
|
if (!data) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -123,7 +123,7 @@ export const jGPrint = function (data, type, callback, printLogParams) {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
LODOP.ADD_PRINT_HTM(0, 0, '100%', '100%', data)
|
|
LODOP.ADD_PRINT_HTM(0, 0, '100%', '100%', data)
|
|
- LODOP.SET_PRINT_PAGESIZE(3,2100,100,"");
|
|
|
|
|
|
+ LODOP.SET_PRINT_PAGESIZE(printPageSize||1,2100,printPageSize?100:40,"");
|
|
if (type == 'preview') { // 预览
|
|
if (type == 'preview') { // 预览
|
|
LODOP.PREVIEW()
|
|
LODOP.PREVIEW()
|
|
} else if (type == 'print') { // 打印
|
|
} else if (type == 'print') { // 打印
|