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() {