From 97f4e581af58ca03ff4c39210fd4b2f3ae11f8ff Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 27 十一月 2026 10:35:43 +0800
Subject: [PATCH] 设备编号记录要求
---
src/views/ecg/doctor/Routine.vue | 19 +++++++++++++++++--
1 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/src/views/ecg/doctor/Routine.vue b/src/views/ecg/doctor/Routine.vue
index 37517b4..91c3def 100644
--- a/src/views/ecg/doctor/Routine.vue
+++ b/src/views/ecg/doctor/Routine.vue
@@ -328,8 +328,22 @@
return
}
- const loaded = await routimePanelRef.value?.examineFromQueue?.(item)
- if (loaded) await initLoad()
+ // 銆�2026-11-26銆戝姞杞藉け璐ヤ笉鑳介潤榛橈細涔嬪墠鎺ュ彛鎶ラ敊锛�4xx/5xx锛夋椂 await 鐩存帴 reject锛�
+ // 椤甸潰娌℃湁浠讳綍鎻愮ず锛岀幇鍦哄氨鏄�"鐐规鏌ユ病鍙嶅簲"銆傝繖閲屽厹浣忓苟缁欏嚭鎻愮ず銆�
+ try {
+ const panel = routimePanelRef.value
+ if (!panel || typeof panel.examineFromQueue !== 'function') {
+ ElMessage.warning('褰撳墠宸ヤ綔鍙版湭灏辩华锛岃鍒锋柊椤甸潰鍚庨噸璇�')
+ return
+ }
+ const loaded = await panel.examineFromQueue(item)
+ if (loaded) {
+ await initLoad()
+ }
+ } catch (e: any) {
+ console.error('[onEventExamine] 鍔犺浇鎮h�呭け璐�', e)
+ ElMessage.error(e?.message ? `鍔犺浇鎮h�呭け璐ワ細${e.message}` : '鍔犺浇鎮h�呭け璐ワ紝璇风◢鍚庨噸璇�')
+ }
}
/**
@@ -556,6 +570,7 @@
<template #aside>
<QueuePanel :room="roomBedVO" :queue="patientList" :waiting-list="roomWaitingList"
:fetch-info="fetchInfo"
+ :examine-enabled="true"
@event_RecallFinish="onEventRecallFinish"
@event_PullWaiting="onEventPullWaiting"
@event_Examine="onEventExamine"
--
Gitblit v1.9.3