diff --git a/app/components/app/encounter/list-cfg.ts b/app/components/app/encounter/list-cfg.ts index fd4d0317..9e1b5d33 100644 --- a/app/components/app/encounter/list-cfg.ts +++ b/app/components/app/encounter/list-cfg.ts @@ -10,7 +10,7 @@ import { defineAsyncComponent } from 'vue' type SmallDetailDto = any -const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-dud.vue')) +const action = defineAsyncComponent(() => import('~/components/pub/custom-ui/data/dropdown-action-pdud.vue')) const statusBadge = defineAsyncComponent(() => import('./status-badge.vue')) export const cols: Col[] = [ diff --git a/app/components/app/patient/quick-info.vue b/app/components/app/patient/quick-info.vue new file mode 100644 index 00000000..1f8943c2 --- /dev/null +++ b/app/components/app/patient/quick-info.vue @@ -0,0 +1,75 @@ + + + diff --git a/app/components/content/encounter/list.vue b/app/components/content/encounter/list.vue index 4df4f998..363d99bf 100644 --- a/app/components/content/encounter/list.vue +++ b/app/components/content/encounter/list.vue @@ -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 } diff --git a/app/components/content/rehab/registration/home.vue b/app/components/content/rehab/registration/home.vue index 7fe1e669..f6b646a9 100644 --- a/app/components/content/rehab/registration/home.vue +++ b/app/components/content/rehab/registration/home.vue @@ -1,57 +1,86 @@ - - diff --git a/app/components/pub/custom-ui/data/dropdown-action-pdud.vue b/app/components/pub/custom-ui/data/dropdown-action-pdud.vue new file mode 100644 index 00000000..a65d435a --- /dev/null +++ b/app/components/pub/custom-ui/data/dropdown-action-pdud.vue @@ -0,0 +1,96 @@ + + + diff --git a/app/components/pub/custom-ui/data/types.ts b/app/components/pub/custom-ui/data/types.ts index fe9f9ebd..7c63d991 100644 --- a/app/components/pub/custom-ui/data/types.ts +++ b/app/components/pub/custom-ui/data/types.ts @@ -105,4 +105,5 @@ export const ActionEvents = { showConfirmDelete: 'showConfirmDel', showEdit: 'showEdit', showDetail: 'showDetail', + showProcess: 'showProcess', } diff --git a/app/pages/(features)/rehab/encounter/[id]/process.vue b/app/pages/(features)/rehab/encounter/[id]/process.vue new file mode 100644 index 00000000..ad499dfe --- /dev/null +++ b/app/pages/(features)/rehab/encounter/[id]/process.vue @@ -0,0 +1,41 @@ + + +