From 99bf3ed3e042d464432e25a697a03df072603d2c Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Thu, 5 Dec 2024 16:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=B1=E6=80=A5=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ECG/ECGForm.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/ECG/ECGForm.vue b/src/views/ECG/ECGForm.vue index 2057c491..3cd160f4 100644 --- a/src/views/ECG/ECGForm.vue +++ b/src/views/ECG/ECGForm.vue @@ -621,9 +621,7 @@ const open = async (row: any) => { Isgrid.value = 1 // 没次打开都是显示的 只有点击网格才会变化 isChildVisible.value = true isshowwjz.value = true - //判断是否显示危急值上报功能 条件是当前机构等于上级机构 - isshowwjz.value=Profilevo.value.orgId===row.highLevelOrgId?true:false - isshowysb.value=Profilevo.value.orgId===row.orgId?true:false + nextTick(() => { /* 计算右侧诊断*/ const canvasContainer = document.getElementById('elform') @@ -639,6 +637,9 @@ const open = async (row: any) => { eltextrow.value = integer } }) + //判断是否显示危急值上报功能 条件是当前机构等于上级机构 + isshowwjz.value=Profilevo.value.orgId===row.highLevelOrgId?true:false + isshowysb.value=Profilevo.value.orgId===row.orgId?true:false } // 返回的列表的数据