Fix Bug #400: 门诊医生站点击【完诊】后,triage_queue_item 表 status 字段未按规范更新为 30

队列弹窗【完成】按钮调用完诊API时,传递了原始 Long 值而非对象参数,
导致后端 @RequestBody 反序列化时 encounterId 为 null,队列项状态无法更新。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
赵云
2026-05-12 13:05:54 +08:00
parent b05dcab1e3
commit 15daf26f6d

View File

@@ -375,7 +375,7 @@ const finishCallPatient = async () => {
return; return;
} }
try { try {
await completeEncounter(currentCallPatient.value.encounterId); await completeEncounter({ encounterId: currentCallPatient.value.encounterId });
emit('finish'); emit('finish');
emit('update:dialogVisible', false); emit('update:dialogVisible', false);
ElMessage.success('患者已完诊'); ElMessage.success('患者已完诊');