From 83b1c2cad3e1f7b2c30503235967ff0d77131366 Mon Sep 17 00:00:00 2001 From: Abizrh Date: Tue, 19 Aug 2025 17:13:45 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat=20(rehab):=20add=20rehab?= =?UTF-8?q?=20feature=20pages=20and=20menu=20items?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(features)/rehab/examination-queue/index.vue | 3 +++ app/pages/(features)/rehab/examination/index.vue | 3 +++ .../(features)/rehab/registration-queue/index.vue | 3 +++ app/pages/(features)/rehab/registration/index.vue | 3 +++ public/side-menu-items/sys.json | 14 +++++++++++++- 5 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 app/pages/(features)/rehab/examination-queue/index.vue create mode 100644 app/pages/(features)/rehab/examination/index.vue create mode 100644 app/pages/(features)/rehab/registration-queue/index.vue create mode 100644 app/pages/(features)/rehab/registration/index.vue diff --git a/app/pages/(features)/rehab/examination-queue/index.vue b/app/pages/(features)/rehab/examination-queue/index.vue new file mode 100644 index 00000000..8616dd19 --- /dev/null +++ b/app/pages/(features)/rehab/examination-queue/index.vue @@ -0,0 +1,3 @@ + diff --git a/app/pages/(features)/rehab/examination/index.vue b/app/pages/(features)/rehab/examination/index.vue new file mode 100644 index 00000000..806b2650 --- /dev/null +++ b/app/pages/(features)/rehab/examination/index.vue @@ -0,0 +1,3 @@ + diff --git a/app/pages/(features)/rehab/registration-queue/index.vue b/app/pages/(features)/rehab/registration-queue/index.vue new file mode 100644 index 00000000..053b5233 --- /dev/null +++ b/app/pages/(features)/rehab/registration-queue/index.vue @@ -0,0 +1,3 @@ + diff --git a/app/pages/(features)/rehab/registration/index.vue b/app/pages/(features)/rehab/registration/index.vue new file mode 100644 index 00000000..90430b84 --- /dev/null +++ b/app/pages/(features)/rehab/registration/index.vue @@ -0,0 +1,3 @@ + diff --git a/public/side-menu-items/sys.json b/public/side-menu-items/sys.json index 5e81d044..18bbd3dc 100644 --- a/public/side-menu-items/sys.json +++ b/public/side-menu-items/sys.json @@ -43,7 +43,19 @@ { "title": "Rehabilitasi Medik", "icon": "i-lucide-heart", - "link": "/rehabilitasi" + "link": "/rehabilitasi", + "children": [ + { + "title": "Daftar Kunjungan Rawat Jalan", + "icon": "i-lucide-stethoscope", + "link": "/rehab/registration-queue" + }, + { + "title": "Daftar Kunjungan Rawat Inap", + "icon": "i-lucide-building-2", + "link": "/rehab/examination" + } + ] }, { "title": "Rawat Inap", From 5e4184d45a40974dfe879725f18ad3973f8c642c Mon Sep 17 00:00:00 2001 From: Abizrh Date: Tue, 19 Aug 2025 17:57:32 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=A8=20feat=20(doctor):=20implement=20?= =?UTF-8?q?doctor=20entry=20form=20and=20navigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/app/doctor/entry-form.vue | 22 ++++++++++++++++------ app/components/flow/doctor/add.vue | 16 +++++++++++++++- app/components/pub/nav/footer/csd.vue | 6 +++--- 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/app/components/app/doctor/entry-form.vue b/app/components/app/doctor/entry-form.vue index 52f079ac..bb638f94 100644 --- a/app/components/app/doctor/entry-form.vue +++ b/app/components/app/doctor/entry-form.vue @@ -3,6 +3,18 @@ import Block from '~/components/pub/form/block.vue' import FieldGroup from '~/components/pub/form/field-group.vue' import Field from '~/components/pub/form/field.vue' import Label from '~/components/pub/form/label.vue' + +const props = defineProps<{ modelValue: any }>() +const emit = defineEmits(['update:modelValue', 'event']) + +const data = computed({ + get: () => props.modelValue, + set: (val) => emit('update:modelValue', val), +}) + +function onClick(type: string) { + emit('event', type) +} diff --git a/app/components/flow/doctor/add.vue b/app/components/flow/doctor/add.vue index 0a990f90..98632f5c 100644 --- a/app/components/flow/doctor/add.vue +++ b/app/components/flow/doctor/add.vue @@ -1,6 +1,20 @@ diff --git a/app/components/pub/nav/footer/csd.vue b/app/components/pub/nav/footer/csd.vue index 78874932..497081e3 100644 --- a/app/components/pub/nav/footer/csd.vue +++ b/app/components/pub/nav/footer/csd.vue @@ -12,15 +12,15 @@ function onClick(type: ClickType) {