feat(sep): introduce PatientData interface and update select-radio component to include menu property

This commit is contained in:
riefive
2025-10-24 13:46:54 +07:00
parent 80f75a3c02
commit aea4c3cd5c
5 changed files with 110 additions and 7 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import { useRoute } from 'vue-router'
// Components
import AppSepEntryForm from '~/components/app/sep/entry-form.vue'
import AppViewPatient from '~/components/app/sep/view-patient.vue'
import AppViewHistory from '~/components/app/sep/view-history.vue'
import { toast } from '~/components/pub/ui/toast'
@@ -441,7 +442,7 @@ onMounted(async () => {
@fetch="handleFetch"
@event="handleEvent"
/>
<AppSepTableSearchPatient
<AppViewPatient
v-model:open="openPatient"
v-model:selected="selectedPatient"
:patients="patients"