diff --git a/src/views/ECG/ECGForm.vue b/src/views/ECG/ECGForm.vue index 31725d3e..b3f7ed0f 100644 --- a/src/views/ECG/ECGForm.vue +++ b/src/views/ECG/ECGForm.vue @@ -191,7 +191,7 @@ plain @click="opencomparediag" > - + 对比 @@ -515,7 +515,7 @@
diff --git a/src/views/applyregistration/reportPrintStatistics/ReportInfoECG.vue b/src/views/applyregistration/reportPrintStatistics/ReportInfoECG.vue index 88448e5d..0a867585 100644 --- a/src/views/applyregistration/reportPrintStatistics/ReportInfoECG.vue +++ b/src/views/applyregistration/reportPrintStatistics/ReportInfoECG.vue @@ -49,58 +49,58 @@ alt="" fit="fill" loading="eager" - style="width: 100%; height: 148mm" + style="width: 100%" :src="reportimage" crossorigin="anonymous" v-if="true" /> -
-
-
+
+
+
-
+
@@ -518,8 +518,8 @@ const fetchData = async () => { //ecgCenter.offsetWidth //ecgCenter.offsetHeight - let targetWidth = 1760 - let targetHeight = 862 + let targetWidth = 1164 + let targetHeight = 624 let options = { allowTaint: false, taintTest: false, @@ -528,7 +528,7 @@ const fetchData = async () => { width: targetWidth, height: targetHeight, dpi: 300, //将分辨率提高到特定的DPI 提高四倍 - scale: 1.14 //按比例增加分辨率 + scale: 1.2 //按比例增加分辨率 } as any const canvas = await html2canvas(ecgCenter, options) if (canvas) { @@ -602,7 +602,7 @@ const createImage = async () => { /** 钩子方法 **/ onMounted(async () => { //heightoff.value = (leftCanvas.value.height - 100) / 6 - heightoff.value = (821 - 0) / 6 + heightoff.value = (618 - 0) / 6 await fetchData() }) @@ -623,13 +623,13 @@ defineExpose({ ecg_loading }) margin: 1px; padding: 1px; position: relative; - width: 99.2%; + width: 99.888%; min-height: 204mm; } .ecg-main { - margin-top: 8px; - margin-bottom: 26px; + margin-top: 4px; + margin-bottom: 30px; } /*** ecg核心 ***/ @@ -648,8 +648,14 @@ defineExpose({ ecg_loading }) position: relative; overflow-x: hidden; overflow-y: hidden; +} + +#canvas-container-l { + width: calc(50% - 1px); +} + +#canvas-container-r { width: 50%; - margin-right: 0; } #leftCanvas,