91 分诊排队管理-》门诊医生站:【完诊】患者队列状态的变化

This commit is contained in:
Ranyunqiao
2026-04-02 15:23:42 +08:00
parent 08085403b3
commit 4ef9aa07d2
4 changed files with 203 additions and 8 deletions

View File

@@ -140,6 +140,12 @@ function handleReceive(row) {
// }
receiveEncounter(row.encounterId).then(() => {
emits('toCurrent', row);
}).catch(error => {
// 如果接诊失败,检查是否是"已接诊"的错误
if (error && error.message && error.message.includes('已接诊')) {
// 自动刷新列表,移除已接诊的患者
getPatientList();
}
});
}