ecg打印

This commit is contained in:
旺仔 2024-12-05 13:00:02 +08:00
parent 2a2f65296c
commit 4c4bfc8e17
2 changed files with 5 additions and 2 deletions

View File

@ -971,6 +971,8 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
/* 打印(报告单) */ /* 打印(报告单) */
.page-item-ecg { .page-item-ecg {
padding: 1mm 0.8mm 1mm 2mm; padding: 1mm 0.8mm 1mm 2mm;
max-width: 1400px;
margin: 0 auto;
border: 2px solid #ccc; border: 2px solid #ccc;
border-radius: 8px; border-radius: 8px;
} }
@ -985,8 +987,9 @@ defineExpose({ open }) // 提供 open 方法,用于打开弹窗
height: 206mm; height: 206mm;
page-break-after: always; page-break-after: always;
padding: 0; padding: 0;
max-width: none;
width: calc(100% - 4.2mm); width: calc(100% - 4.2mm);
margin-left: 2.6mm; margin: 0 0 0 2.6mm;
} }
} }
</style> </style>

View File

@ -49,7 +49,7 @@
alt="" alt=""
fit="fill" fit="fill"
loading="eager" loading="eager"
style="width: 100%; height: 144mm" style="width: 100%; height: 148mm"
:src="reportimage" :src="reportimage"
:preview-src-list="[reportimage]" :preview-src-list="[reportimage]"
crossorigin="anonymous" crossorigin="anonymous"