From 11ba37fc4c3fad259a1d9d5648e4f47bb0a4d9b1 Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Fri, 27 Dec 2024 17:03:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=94=BE=E5=A4=A7=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ECG/ECGForm.vue | 7 +- src/views/ECG/ECGSB.vue | 219 ++++++++++++++++++++++++-------------- src/views/ECG/ECGhtml.vue | 3 +- 3 files changed, 142 insertions(+), 87 deletions(-) diff --git a/src/views/ECG/ECGForm.vue b/src/views/ECG/ECGForm.vue index 4dc057ff..cd05157b 100644 --- a/src/views/ECG/ECGForm.vue +++ b/src/views/ECG/ECGForm.vue @@ -146,7 +146,7 @@ 测量 - + 放大
-
+ > + +
diff --git a/src/views/ECG/ECGhtml.vue b/src/views/ECG/ECGhtml.vue index 37ded7a2..0309c3bb 100644 --- a/src/views/ECG/ECGhtml.vue +++ b/src/views/ECG/ECGhtml.vue @@ -126,7 +126,6 @@ function handleMouseDown(event, type) { const y = event.clientY - rect.top if (lastPoint.value) { - // 如果已经有一个点被记录,那么使用这个新点和上一个点绘制线条 drawLineAndDistance(lastPoint.value, { x, y }) lastPoint.value = null // 重置上一个点 } else { @@ -451,7 +450,7 @@ const lead_name = ['I', 'II', 'III', 'aVR', 'aVL', 'aVF'] const rlead_name = ['V1', 'V2', 'V3', 'V4', 'V5', 'V6'] -//将读取到的文件转换成数组 +//将读取到的文���转换成数组 function handleFileChange() { const json = JSON.parse(text.value)