|
|
@@ -80,7 +80,7 @@
|
|
|
min-height: 96%; padding: 0 30px;
|
|
|
background-color: white; overflow-y: auto"
|
|
|
>
|
|
|
- <div v-if="reportCategory === 'JY'" style="height: 100%">
|
|
|
+ <div v-if="reportCategory === 'JY'" style="height: 98%">
|
|
|
<div v-for="(jyData, index) in jyDataList" :id="'jyData'+index" style="height: 100%">
|
|
|
<JyResult :data="jyData" />
|
|
|
</div>
|
|
|
@@ -326,10 +326,10 @@ function doPrint() {
|
|
|
LODOP.PRINT_INIT('jyjc')
|
|
|
LODOP.SET_PRINT_MODE('FULL_WIDTH_FOR_OVERFLOW', true) //宽度溢出缩放
|
|
|
if (reportCategory.value === 'JY') {
|
|
|
- LODOP.SET_PRINT_PAGESIZE(2, '148mm', '210mm', 'CreateCustomPage');
|
|
|
+ LODOP.SET_PRINT_PAGESIZE(2, 0, 0, 'A5');
|
|
|
for (let i = 0; i < jyDataList.value.length; i++) {
|
|
|
const printarea = document.getElementById("jyData" + i).innerHTML;
|
|
|
- LODOP.ADD_PRINT_HTM(0, 0, '210mm', '148mm', printarea);
|
|
|
+ LODOP.ADD_PRINT_HTM(0, 0, '208mm', '146mm', printarea);
|
|
|
LODOP.NEWPAGE()
|
|
|
}
|
|
|
} else {
|
|
|
@@ -342,7 +342,7 @@ function doPrint() {
|
|
|
LODOP.SET_PRINT_STYLEA(0,"Vorient",3);
|
|
|
LODOP.SET_PRINT_STYLEA(0,"Stretch",1);
|
|
|
}
|
|
|
- LODOP.PRINT()
|
|
|
+ LODOP.PREVIEW()
|
|
|
resolve()
|
|
|
})
|
|
|
}
|