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 } // 返回的列表的数据