From 97e9175c5163d4853fd530d9c357bea95f8f0156 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Mon, 9 Dec 2024 18:34:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=B9=E6=AF=94=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/ECGCompare.vue | 70 +++++++++++++++++++++++++----------- src/views/ECG/ECGForm.vue | 2 +- 2 files changed, 50 insertions(+), 22 deletions(-) diff --git a/src/views/ECG/ECGCompare.vue b/src/views/ECG/ECGCompare.vue index 4adec25c..68c7126a 100644 --- a/src/views/ECG/ECGCompare.vue +++ b/src/views/ECG/ECGCompare.vue @@ -2,8 +2,13 @@
- - 历史数据 + + + 历史数据(红色的为当前数据,其余的则为历史数据)
{{ formattedDate(city['snapshotTime']) }} @@ -22,6 +28,9 @@ 对比 清除
+ + +
@@ -53,7 +62,16 @@ -
+
测量 - - - -
+
测量 - - - { +const opencomparediag = async (row, Time) => { transfer.value = [] snapshotTime.value = '' snapshotTime1.value = '' - ecganalysisinfo.value = await EcganalysisparasApi.getlist(row.regId,row.orgId) + currenttime.value = Time + ecganalysisinfo.value = await EcganalysisparasApi.getlist(row.regId, row.orgId) dialogVisible.value = true } @@ -362,6 +384,7 @@ defineOptions({ name: 'ECGWarningDialog' }) display: flex; flex-direction: row; justify-content: flex-start; + margin-bottom: 2px; } .vertical-text { writing-mode: vertical-rl; @@ -373,4 +396,9 @@ defineOptions({ name: 'ECGWarningDialog' }) color: #79d3f5; margin-top: -18px; } + +.mycheckbox-item.highlight { + /* 当值等于 currenttime 时的样式 */ + color: red; /* 例如,将文字颜色改为红色 */ +} diff --git a/src/views/ECG/ECGForm.vue b/src/views/ECG/ECGForm.vue index 72df0c44..1d0cb36f 100644 --- a/src/views/ECG/ECGForm.vue +++ b/src/views/ECG/ECGForm.vue @@ -794,7 +794,7 @@ function openreprotdiag() { } //对比弹窗 function opencomparediag() { - ECGCompare.value.opencomparediag(rowinfo.value) + ECGCompare.value.opencomparediag(rowinfo.value,queryParams.value.snapshotTime) } //纠错 function iscorrect() {