feat (rehab): implement rehab registration home component

This commit is contained in:
Abizrh
2025-09-23 23:05:22 +07:00
parent 03697f9cea
commit 887db6f2a2
7 changed files with 287 additions and 42 deletions

No files matched your search

@@ -59,10 +59,13 @@ onMounted(() => {
watch(
() => recAction.value,
() => {
console.log('recAction.value', recAction.value)
if (recAction.value === 'showDetail') {
navigateTo(`/rehab/encounter/${recId.value}/detail`)
} else if (recAction.value === 'showEdit') {
navigateTo(`/rehab/encounter/${recId.value}/edit`)
} else if (recAction.value === 'showProcess') {
navigateTo(`/rehab/encounter/${recId.value}/process`)
} else {
// handle other actions
}