From fe08643c0e972bf78865519dde48c388d6ed6b60 Mon Sep 17 00:00:00 2001 From: Abizrh Date: Wed, 22 Oct 2025 17:20:06 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20(encounter):=20fetch=20enc?= =?UTF-8?q?ounter=20data=20instead=20of=20patient=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/content/encounter/list.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/content/encounter/list.vue b/app/components/content/encounter/list.vue index 065fbab1..76f32415 100644 --- a/app/components/content/encounter/list.vue +++ b/app/components/content/encounter/list.vue @@ -49,8 +49,7 @@ const refSearchNav: RefSearchNav = { async function getPatientList() { isLoading.isTableLoading = true - const resp = await xfetch('/api/v1/patient') - // const resp = await xfetch('/api/v1/encounter?includes=patient,patient-person') + const resp = await xfetch('/api/v1/encounter?includes=patient,patient-person') if (resp.success) { data.value = (resp.body as Record).data }