diff --git a/app/components/layout/AppSidebar.vue b/app/components/layout/AppSidebar.vue index 599313c7..cc0736da 100644 --- a/app/components/layout/AppSidebar.vue +++ b/app/components/layout/AppSidebar.vue @@ -8,6 +8,32 @@ const navMenu: any[] = [ icon: 'i-lucide-home', link: '/', }, + { + title: 'Rawat Jalan', + icon: 'i-lucide-stethoscope', + children: [ + { + title: 'Antrian Pendaftaran', + icon: 'i-lucide-stethoscope', + link: '/outpatient/registration-queue', + }, + { + title: 'Pendaftaran', + icon: 'i-lucide-building-2', + link: '/outpatient/registration', + }, + { + title: 'Antrian Pemeriksaan', + icon: 'i-lucide-stethoscope', + link: '/outpatient/examination-queue', + }, + { + title: 'Pendaftaran', + icon: 'i-lucide-building-2', + link: '/outpatient/examination', + }, + ], + }, { title: 'Pasien', icon: 'i-lucide-users', @@ -18,11 +44,6 @@ const navMenu: any[] = [ icon: 'i-lucide-heart', link: '/rehabilitasi', }, - { - title: 'Rawat Jalan', - icon: 'i-lucide-stethoscope', - link: '/rawat-jalan', - }, { title: 'Rawat Inap', icon: 'i-lucide-building-2', @@ -119,7 +140,7 @@ const sidebar = { v-for="(item, index) in nav.items" :key="index" :item="item" - class="mb-2" + class="my-2 mb-2" /> diff --git a/app/components/layout/SidebarNavGroup.vue b/app/components/layout/SidebarNavGroup.vue index e6c74ee6..f9d1a73f 100644 --- a/app/components/layout/SidebarNavGroup.vue +++ b/app/components/layout/SidebarNavGroup.vue @@ -24,13 +24,7 @@ const openCollapsible = ref(false) - {{ item.title }} - - New - + {{ item.title }} - + {{ subItem.title }} - - New - diff --git a/app/components/layout/SidebarNavLink.vue b/app/components/layout/SidebarNavLink.vue index 55b0d2b5..9a3b873e 100644 --- a/app/components/layout/SidebarNavLink.vue +++ b/app/components/layout/SidebarNavLink.vue @@ -21,7 +21,7 @@ const { setOpenMobile } = useSidebar() diff --git a/app/pages/(features)/outpatient/examination-queue/index.vue b/app/pages/(features)/outpatient/examination-queue/index.vue new file mode 100644 index 00000000..8616dd19 --- /dev/null +++ b/app/pages/(features)/outpatient/examination-queue/index.vue @@ -0,0 +1,3 @@ + diff --git a/app/pages/(features)/outpatient/examination/index.vue b/app/pages/(features)/outpatient/examination/index.vue new file mode 100644 index 00000000..806b2650 --- /dev/null +++ b/app/pages/(features)/outpatient/examination/index.vue @@ -0,0 +1,3 @@ + diff --git a/app/pages/(features)/outpatient/registration-queue/index.vue b/app/pages/(features)/outpatient/registration-queue/index.vue new file mode 100644 index 00000000..053b5233 --- /dev/null +++ b/app/pages/(features)/outpatient/registration-queue/index.vue @@ -0,0 +1,3 @@ + diff --git a/app/pages/(features)/outpatient/registration/index.vue b/app/pages/(features)/outpatient/registration/index.vue new file mode 100644 index 00000000..90430b84 --- /dev/null +++ b/app/pages/(features)/outpatient/registration/index.vue @@ -0,0 +1,3 @@ +