From 2426dcb979469e82d4f530d9969cabb79a7dfd18 Mon Sep 17 00:00:00 2001 From: Andrian Roshandy Date: Sun, 28 Sep 2025 07:08:44 +0700 Subject: [PATCH 1/4] feat/layout-cleaning: merapikan style pada layout + custom ui --- app/app.vue | 1 - .../pub/custom-ui/doc-entry/block.vue | 2 +- .../pub/custom-ui/nav-header/prep.vue | 22 +++-- app/layouts/default.vue | 99 ++----------------- eslint.config.js | 1 + 5 files changed, 24 insertions(+), 101 deletions(-) diff --git a/app/app.vue b/app/app.vue index dfe34d61..46d6ca88 100644 --- a/app/app.vue +++ b/app/app.vue @@ -20,7 +20,6 @@ useHead({ - diff --git a/app/components/pub/custom-ui/doc-entry/block.vue b/app/components/pub/custom-ui/doc-entry/block.vue index 9a1403b4..d97a6036 100644 --- a/app/components/pub/custom-ui/doc-entry/block.vue +++ b/app/components/pub/custom-ui/doc-entry/block.vue @@ -30,7 +30,7 @@ const getLabelSizeIdx = (size: string) => { const settingClass = computed(() => { const breakPointIdx = getBreakpointIdx(props.gridPoint) let cls = breakpoints[breakPointIdx] - cls += ' gap-4 xl:gap-5 ' + [ + cls += ' gap-x-4 xl:gap-x-5 gap-y-2 xl:gap-y-3 ' + [ 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'grid-cols-5', 'grid-cols-6', 'grid-cols-7', 'grid-cols-8', 'grid-cols-9', 'grid-cols-10', ][props.colCount - 1] diff --git a/app/components/pub/custom-ui/nav-header/prep.vue b/app/components/pub/custom-ui/nav-header/prep.vue index 61b83af9..ee051cf4 100644 --- a/app/components/pub/custom-ui/nav-header/prep.vue +++ b/app/components/pub/custom-ui/nav-header/prep.vue @@ -23,21 +23,23 @@ function btnClick() {
-
- +
+ {{ props.prep.title }}
-
- - - - - +
+
-
- diff --git a/app/layouts/default.vue b/app/layouts/default.vue index c68136e9..3b4a774c 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -3,18 +3,18 @@ import CardContent from '~/components/pub/ui/card/CardContent.vue' const route = useRoute() const contentFrame = computed(() => route.meta.contentFrame) -const contentContent = computed(() => { +const contentFrameClass = computed(() => { switch (contentFrame.value) { case 'cf-container-lg': - return 'cf-frame cf-container-lg-content' + return 'cf-container-lg' case 'cf-container-md': - return 'cf-frame cf-container-md-content' + return 'cf-container-md' case 'cf-container-sm': - return 'cf-frame cf-container-sm-content' + return 'cf-container-sm' case 'cf-full-width': - return 'cf-frame-width' + return 'cf-full-width' default: - return 'cf-frame' + return 'cf-container-lg' } }) @@ -24,8 +24,8 @@ const contentContent = computed(() => { -
-
+
+
@@ -39,34 +39,13 @@ const contentContent = computed(() => { diff --git a/eslint.config.js b/eslint.config.js index 42a5d851..52229dc1 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -42,6 +42,7 @@ export default withNuxt( // Allow more flexible code style 'style/max-statements-per-line': ['error', { max: 3 }], 'antfu/if-newline': 'off', // Disable newline after if requirement + 'antfu/top-level-function': false, }, }, { From 9c6547ba6319fd1d97bec785ef333f42cc341812 Mon Sep 17 00:00:00 2001 From: Munawwirul Jamal Date: Sun, 28 Sep 2025 15:56:16 +0700 Subject: [PATCH 2/4] feat/menu-structure-update: done --- public/side-menu-items/doc.json | 78 +++++++++++++++ public/side-menu-items/lab.json | 58 +++++++++++ public/side-menu-items/miw.json | 32 ++++++ public/side-menu-items/nur.json | 101 +++++++++++++++++++ public/side-menu-items/nut.json | 67 +++++++++++++ public/side-menu-items/pha.json | 75 ++++++++++++++ public/side-menu-items/reg.json | 168 ++++++++++++++++++++++++++++++++ public/side-menu-items/sys.json | 142 +++++++++++++++++---------- 8 files changed, 668 insertions(+), 53 deletions(-) create mode 100644 public/side-menu-items/doc.json create mode 100644 public/side-menu-items/lab.json create mode 100644 public/side-menu-items/miw.json create mode 100644 public/side-menu-items/nur.json create mode 100644 public/side-menu-items/nut.json create mode 100644 public/side-menu-items/pha.json create mode 100644 public/side-menu-items/reg.json diff --git a/public/side-menu-items/doc.json b/public/side-menu-items/doc.json new file mode 100644 index 00000000..983c035f --- /dev/null +++ b/public/side-menu-items/doc.json @@ -0,0 +1,78 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "icon": "i-lucide-home", + "link": "/" + }, + { + "title": "Rawat Jalan", + "icon": "i-lucide-stethoscope", + "link": "/outpatient/encounter" + }, + { + "title": "IGD", + "icon": "i-lucide-zap", + "children": [ + { + "title": "Triase", + "icon": "i-lucide-stethoscope", + "link": "/emergency/triage" + }, + { + "title": "Pemeriksaan", + "icon": "i-lucide-building-2", + "link": "/emergency/encounter" + } + ] + }, + { + "title": "Rehabilitasi Medik", + "icon": "i-lucide-bike", + "link": "/rehab/encounter" + }, + { + "title": "Rawat Inap", + "icon": "i-lucide-building-2", + "link": "/inpatient/encounter" + } + ] + }, + { + "heading": "Ruang Tindakan Rajal", + "items": [ + { + "title": "Kemoterapi", + "icon": "i-lucide-droplets", + "link": "/outpatient-medical-act/cemotherapy" + }, + { + "title": "Hemofilia", + "icon": "i-lucide-droplet-off", + "link": "/outpatient-medical-act/hemophilia" + } + ] + }, + { + "heading": "Ruang Tindakan Anak", + "items": [ + { + "title": "Thalasemi", + "icon": "i-lucide-baby", + "link": "/child-medical-act/thalasemia" + }, + { + "title": "Echocardiography", + "icon": "i-lucide-baby", + "link": "/child-medical-act/echocardiography" + }, + { + "title": "Spirometri", + "icon": "i-lucide-baby", + "link": "/child-medical-act/spirometry" + } + ] + } +] diff --git a/public/side-menu-items/lab.json b/public/side-menu-items/lab.json new file mode 100644 index 00000000..0b7f7b0d --- /dev/null +++ b/public/side-menu-items/lab.json @@ -0,0 +1,58 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "icon": "i-lucide-home", + "link": "/" + }, + { + "title": "Lab - Order", + "icon": "i-lucide-microscope", + "link": "/lab-order" + }, + { + "title": "Lab Mikro - Order", + "icon": "i-lucide-microscope", + "link": "/micro-lab-order" + }, + { + "title": "Lab PA - Order", + "icon": "i-lucide-microscope", + "link": "/pa-lab-order" + }, + { + "title": "Radiologi - Order", + "icon": "i-lucide-radio", + "link": "/radiology-order" + }, + { + "title": "Gizi", + "icon": "i-lucide-egg-fried", + "link": "/nutrition-order" + }, + { + "title": "Pembayaran", + "icon": "i-lucide-banknote-arrow-up", + "link": "/payment" + } + ] + }, + { + "heading": "Source", + "items": [ + { + "title": "Umum", + "icon": "i-lucide-airplay", + "children": [ + { + "title": "Uom", + "icon": "i-lucide-airplay", + "link": "/common/uom" + } + ] + } + ] + } +] diff --git a/public/side-menu-items/miw.json b/public/side-menu-items/miw.json new file mode 100644 index 00000000..ebb43da6 --- /dev/null +++ b/public/side-menu-items/miw.json @@ -0,0 +1,32 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "icon": "i-lucide-home", + "link": "/" + }, + { + "title": "Rawat Jalan", + "icon": "i-lucide-stethoscope", + "link": "/outpatient/encounter" + }, + { + "title": "IGD", + "icon": "i-lucide-zap", + "link": "/emergency/encounter" + }, + { + "title": "Rehabilitasi Medik", + "icon": "i-lucide-bike", + "link": "/rehab/polyclinic-queue" + }, + { + "title": "Rawat Inap", + "icon": "i-lucide-building-2", + "link": "/inpatient/encounter" + } + ] + } +] diff --git a/public/side-menu-items/nur.json b/public/side-menu-items/nur.json new file mode 100644 index 00000000..93f9a0bb --- /dev/null +++ b/public/side-menu-items/nur.json @@ -0,0 +1,101 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "icon": "i-lucide-home", + "link": "/" + }, + { + "title": "Rawat Jalan", + "icon": "i-lucide-stethoscope", + "children": [ + { + "title": "Antrian Poliklinik", + "icon": "i-lucide-stethoscope", + "link": "/outpatient/polyclinic-queue" + }, + { + "title": "Pendaftaran", + "icon": "i-lucide-building-2", + "link": "/outpatient/encounter" + } + ] + }, + { + "title": "IGD", + "icon": "i-lucide-zap", + "children": [ + { + "title": "Triase", + "icon": "i-lucide-stethoscope", + "link": "/emergency/triage" + }, + { + "title": "Pemeriksaan", + "icon": "i-lucide-building-2", + "link": "/emergency/encounter" + } + ] + }, + { + "title": "Rehabilitasi Medik", + "icon": "i-lucide-bike", + "link": "/rehab", + "children": [ + { + "title": "Antrean Poliklinik", + "icon": "i-lucide-stethoscope", + "link": "/rehab/polyclinic-queue" + }, + { + "title": "Kunjungan", + "icon": "i-lucide-building-2", + "link": "/rehab/encounter" + } + ] + }, + { + "title": "Rawat Inap", + "icon": "i-lucide-building-2", + "link": "/inpatient/encounter" + } + ] + }, + { + "heading": "Ruang Tindakan Rajal", + "items": [ + { + "title": "Kemoterapi", + "icon": "i-lucide-droplets", + "link": "/outpatient-medical-act/cemotherapy" + }, + { + "title": "Hemofilia", + "icon": "i-lucide-droplet-off", + "link": "/outpatient-medical-act/hemophilia" + } + ] + }, + { + "heading": "Ruang Tindakan Anak", + "items": [ + { + "title": "Thalasemi", + "icon": "i-lucide-baby", + "link": "/child-medical-act/thalasemia" + }, + { + "title": "Echocardiography", + "icon": "i-lucide-baby", + "link": "/child-medical-act/echocardiography" + }, + { + "title": "Spirometri", + "icon": "i-lucide-baby", + "link": "/child-medical-act/spirometry" + } + ] + } +] diff --git a/public/side-menu-items/nut.json b/public/side-menu-items/nut.json new file mode 100644 index 00000000..95f2d77a --- /dev/null +++ b/public/side-menu-items/nut.json @@ -0,0 +1,67 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "icon": "i-lucide-home", + "link": "/" + }, + { + "title": "Rawat Jalan", + "icon": "i-lucide-stethoscope", + "link": "/outpatient/encounter" + }, + { + "title": "IGD", + "icon": "i-lucide-zap", + "link": "/emergency/encounter" + }, + { + "title": "Rehabilitasi Medik", + "icon": "i-lucide-bike", + "link": "/rehab/encounter" + }, + { + "title": "Rawat Inap", + "icon": "i-lucide-building-2", + "link": "/inpatient/encounter" + } + ] + }, + { + "heading": "Ruang Tindakan Rajal", + "items": [ + { + "title": "Kemoterapi", + "icon": "i-lucide-droplets", + "link": "/outpatient-medical-act/cemotherapy" + }, + { + "title": "Hemofilia", + "icon": "i-lucide-droplet-off", + "link": "/outpatient-medical-act/hemophilia" + } + ] + }, + { + "heading": "Ruang Tindakan Anak", + "items": [ + { + "title": "Thalasemi", + "icon": "i-lucide-baby", + "link": "/child-medical-act/thalasemia" + }, + { + "title": "Echocardiography", + "icon": "i-lucide-baby", + "link": "/child-medical-act/echocardiography" + }, + { + "title": "Spirometri", + "icon": "i-lucide-baby", + "link": "/child-medical-act/spirometry" + } + ] + } +] diff --git a/public/side-menu-items/pha.json b/public/side-menu-items/pha.json new file mode 100644 index 00000000..35859c27 --- /dev/null +++ b/public/side-menu-items/pha.json @@ -0,0 +1,75 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "icon": "i-lucide-home", + "link": "/" + }, + { + "title": "Obat - Order", + "icon": "i-lucide-briefcase-medical", + "children": [ + { + "title": "Permintaan", + "icon": "i-lucide-user", + "link": "/medication/order" + }, + { + "title": "Standing Order", + "icon": "i-lucide-user", + "link": "/medication/standing-order" + } + ] + } + ] + }, + { + "heading": "Source", + "items": [ + { + "title": "Peralatan dan Perlengkapan", + "icon": "i-lucide-layout-dashboard", + "children": [ + { + "title": "Obat", + "icon": "i-lucide-stethoscope", + "link": "/tools-equipment-src/medicine" + }, + { + "title": "Peralatan", + "icon": "i-lucide-tools", + "link": "/tools-equipment-src/tools" + }, + { + "title": "Perlengkapan (BMHP)", + "icon": "i-lucide-stethoscope", + "link": "/tools-equipment-src/equipment" + }, + { + "title": "Metode Obat", + "icon": "i-lucide-user", + "link": "/tools-equipment-src/medicine-method" + }, + { + "title": "Jenis Obat", + "icon": "i-lucide-user", + "link": "/tools-equipment-src/medicine-type" + } + ] + }, + { + "title": "Umum", + "icon": "i-lucide-airplay", + "children": [ + { + "title": "Uom", + "icon": "i-lucide-airplay", + "link": "/common/uom" + } + ] + } + ] + } +] diff --git a/public/side-menu-items/reg.json b/public/side-menu-items/reg.json new file mode 100644 index 00000000..2a61e6ee --- /dev/null +++ b/public/side-menu-items/reg.json @@ -0,0 +1,168 @@ +[ + { + "heading": "Menu Utama", + "items": [ + { + "title": "Dashboard", + "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": "Kunjungan", + "icon": "i-lucide-building-2", + "link": "/outpatient/encounter" + } + ] + }, + { + "title": "IGD", + "icon": "i-lucide-zap", + "link": "/emergency/encounter" + }, + { + "title": "Rehabilitasi Medik", + "icon": "i-lucide-bike", + "link": "/rehab", + "children": [ + { + "title": "Antrean Pendaftaran", + "icon": "i-lucide-building-2", + "link": "/rehab/registration-queue" + }, + { + "title": "Kunjungan", + "icon": "i-lucide-building-2", + "link": "/rehab/encounter" + } + ] + }, + { + "title": "Rawat Inap", + "icon": "i-lucide-building-2", + "children": [ + { + "title": "Permintaan", + "icon": "i-lucide-stethoscope", + "link": "/inpatient/request" + }, + { + "title": "Kunjungan", + "icon": "i-lucide-building-2", + "link": "/inpatient/encounter" + } + ] + }, + { + "title": "Obat - Order", + "icon": "i-lucide-briefcase-medical", + "children": [ + { + "title": "Permintaan", + "icon": "i-lucide-user", + "link": "/medication/order" + }, + { + "title": "Standing Order", + "icon": "i-lucide-user", + "link": "/medication/standing-order" + } + ] + } + ] + }, + { + "heading": "Ruang Tindakan Rajal", + "items": [ + { + "title": "Kemoterapi", + "icon": "i-lucide-droplets", + "link": "/outpatient-medical-act/cemotherapy" + }, + { + "title": "Hemofilia", + "icon": "i-lucide-droplet-off", + "link": "/outpatient-medical-act/hemophilia" + } + ] + }, + { + "heading": "Ruang Tindakan Anak", + "items": [ + { + "title": "Thalasemi", + "icon": "i-lucide-baby", + "link": "/child-medical-act/thalasemia" + }, + { + "title": "Echocardiography", + "icon": "i-lucide-baby", + "link": "/child-medical-act/echocardiography" + }, + { + "title": "Spirometri", + "icon": "i-lucide-baby", + "link": "/child-medical-act/spirometry" + } + ] + }, + { + "heading": "Client", + "items": [ + { + "title": "Pasien", + "icon": "i-lucide-users", + "link": "/client/patient" + }, + { + "title": "Rekam Medis", + "icon": "i-lucide-file-text", + "link": "/client/medical-record" + } + ] + }, + { + "heading": "Integrasi", + "items": [ + { + "title": "BPJS", + "icon": "i-lucide-circuit-board", + "children": [ + { + "title": "SEP", + "icon": "i-lucide-circuit-board", + "link": "/bpjs-integration/sep" + }, + { + "title": "Peserta", + "icon": "i-lucide-circuit-board", + "link": "/bpjs-integration/member" + } + ] + }, + { + "title": "SATUSEHAT", + "icon": "i-lucide-database", + "link": "/satusehat-integration" + }, + { + "heading": "Keuangan", + "items": [ + { + "title": "Daftar harga", + "icon": "i-lucide-list", + "link": "/item" + } + ] + } + ] + } +] diff --git a/public/side-menu-items/sys.json b/public/side-menu-items/sys.json index 3d6a215f..4029099a 100644 --- a/public/side-menu-items/sys.json +++ b/public/side-menu-items/sys.json @@ -17,19 +17,14 @@ "link": "/outpatient/registration-queue" }, { - "title": "Pendaftaran", - "icon": "i-lucide-building-2", - "link": "/outpatient/registration" - }, - { - "title": "Antrian Pemeriksaan", + "title": "Antrian Poliklinik", "icon": "i-lucide-stethoscope", - "link": "/outpatient/examination-queue" + "link": "/outpatient/polyclinic-queue" }, { - "title": "Pendaftaran", + "title": "Kunjungan", "icon": "i-lucide-building-2", - "link": "/outpatient/examination" + "link": "/outpatient/encounter" } ] }, @@ -43,14 +38,30 @@ "link": "/emergency/triage" }, { - "title": "Pendaftaran", + "title": "Kunjungan", "icon": "i-lucide-building-2", - "link": "/emergency/registration" + "link": "/emergency/encounter" + } + ] + }, + { + "title": "Rehabilitasi Medik", + "icon": "i-lucide-bike", + "children": [ + { + "title": "Antrean Pendaftaran", + "icon": "i-lucide-building-2", + "link": "/rehab/registration-queue" }, { - "title": "Pemeriksaan", + "title": "Antrean Poliklinik", + "icon": "i-lucide-stethoscope", + "link": "/rehab/polyclinic-queue" + }, + { + "title": "Kunjungan", "icon": "i-lucide-building-2", - "link": "/emergency/examination" + "link": "/rehab/encounter" } ] }, @@ -61,44 +72,12 @@ { "title": "Permintaan", "icon": "i-lucide-stethoscope", - "link": "/outpatient/request" - }, - { - "title": "Pendaftaran", - "icon": "i-lucide-building-2", - "link": "/outpatient/registration" - }, - { - "title": "Pemeriksaan", - "icon": "i-lucide-building-2", - "link": "/outpatient/examination" - } - ] - }, - { - "title": "Rehabilitasi Medik", - "icon": "i-lucide-bike", - "link": "/rehabilitasi", - "children": [ - { - "title": "Antrian Poliklinik", - "icon": "i-lucide-stethoscope", - "link": "/rehab/examination-queue" - }, - { - "title": "Pendaftaran", - "icon": "i-lucide-building-2", - "link": "/rehab/registration" - }, - { - "title": "Antrian Pemeriksaan", - "icon": "i-lucide-stethoscope", - "link": "/rehab/examination-queue" + "link": "/inpatient/request" }, { "title": "Kunjungan", "icon": "i-lucide-building-2", - "link": "/rehab/encounter" + "link": "/inpatient/encounter" } ] }, @@ -150,6 +129,41 @@ } ] }, + { + "heading": "Ruang Tindakan Rajal", + "items": [ + { + "title": "Kemoterapi", + "icon": "i-lucide-droplets", + "link": "/outpatient-medical-act/cemotherapy" + }, + { + "title": "Hemofilia", + "icon": "i-lucide-droplet-off", + "link": "/outpatient-medical-act/hemophilia" + } + ] + }, + { + "heading": "Ruang Tindakan Anak", + "items": [ + { + "title": "Thalasemi", + "icon": "i-lucide-baby", + "link": "/child-medical-act/thalasemia" + }, + { + "title": "Echocardiography", + "icon": "i-lucide-baby", + "link": "/child-medical-act/echocardiography" + }, + { + "title": "Spirometri", + "icon": "i-lucide-baby", + "link": "/child-medical-act/spirometry" + } + ] + }, { "heading": "Client", "items": [ @@ -251,6 +265,17 @@ } ] }, + { + "title": "Pemeriksaan Penunjang", + "icon": "i-lucide-layout-list", + "children": [ + { + "title": "Checkup", + "icon": "i-lucide-stethoscope", + "link": "/mcu-src/mcu" + } + ] + }, { "title": "Layanan", "icon": "i-lucide-layout-list", @@ -275,6 +300,11 @@ "icon": "i-lucide-stethoscope", "link": "/service-src/chamber" }, + { + "title": "Ruang", + "icon": "i-lucide-stethoscope", + "link": "/service-src/chamber" + }, { "title": "Lantai", "icon": "i-lucide-user", @@ -322,18 +352,24 @@ "title": "Umum", "icon": "i-lucide-airplay", "children": [ - { - "title": "Item & Pricing", - "icon": "i-lucide-airplay", - "link": "/common/item" - }, { "title": "Uom", "icon": "i-lucide-airplay", "link": "/common/uom" } ] + }, + { + "title": "Keuangan", + "icon": "i-lucide-airplay", + "children": [ + { + "title": "Item & Pricing", + "icon": "i-lucide-airplay", + "link": "/common/item" + } + ] } ] } -] \ No newline at end of file +] From b35cc157491b2933208919e9e2de382cf0e9f723 Mon Sep 17 00:00:00 2001 From: Munawwirul Jamal Date: Sun, 28 Sep 2025 22:20:27 +0700 Subject: [PATCH 3/4] feat/menu-structure-update-3: adjustment --- public/side-menu-items/doc.json | 56 ++++++++++++++++---- public/side-menu-items/nur.json | 16 ++---- public/side-menu-items/reg.json | 93 --------------------------------- public/side-menu-items/sys.json | 62 ++++++++-------------- 4 files changed, 74 insertions(+), 153 deletions(-) diff --git a/public/side-menu-items/doc.json b/public/side-menu-items/doc.json index 983c035f..3254963f 100644 --- a/public/side-menu-items/doc.json +++ b/public/side-menu-items/doc.json @@ -10,7 +10,18 @@ { "title": "Rawat Jalan", "icon": "i-lucide-stethoscope", - "link": "/outpatient/encounter" + "children": [ + { + "title": "Triase", + "icon": "i-lucide-stethoscope", + "link": "/outpatient/encounter" + }, + { + "title": "Konsultasi", + "icon": "i-lucide-building-2", + "link": "/outpatient/consultation" + } + ] }, { "title": "IGD", @@ -22,21 +33,48 @@ "link": "/emergency/triage" }, { - "title": "Pemeriksaan", + "title": "Kunjungan", "icon": "i-lucide-building-2", "link": "/emergency/encounter" + }, + { + "title": "Konsultasi", + "icon": "i-lucide-building-2", + "link": "/emergency/consultation" } ] }, { "title": "Rehabilitasi Medik", "icon": "i-lucide-bike", - "link": "/rehab/encounter" + "children": [ + { + "title": "Kunjungan", + "icon": "i-lucide-building-2", + "link": "/rehab/encounter" + }, + { + "title": "Konsultasi", + "icon": "i-lucide-building-2", + "link": "/rehab/consultation" + } + ] }, { "title": "Rawat Inap", "icon": "i-lucide-building-2", - "link": "/inpatient/encounter" + "children": [ + { + "title": "Kunjungan", + "icon": "i-lucide-building-2", + "link": "/inpatient/encounter" + }, + { + "title": "Konsultasi", + "icon": "i-lucide-building-2", + "link": "/inpatient/consultation" + } + ] } ] }, @@ -46,12 +84,12 @@ { "title": "Kemoterapi", "icon": "i-lucide-droplets", - "link": "/outpatient-medical-act/cemotherapy" + "link": "/cemotherapy/encounter" }, { "title": "Hemofilia", "icon": "i-lucide-droplet-off", - "link": "/outpatient-medical-act/hemophilia" + "link": "/hemophilia/encounter" } ] }, @@ -61,17 +99,17 @@ { "title": "Thalasemi", "icon": "i-lucide-baby", - "link": "/child-medical-act/thalasemia" + "link": "/thalasemia/encounter" }, { "title": "Echocardiography", "icon": "i-lucide-baby", - "link": "/child-medical-act/echocardiography" + "link": "/echocardiography/encounter" }, { "title": "Spirometri", "icon": "i-lucide-baby", - "link": "/child-medical-act/spirometry" + "link": "/spirometry/encounter" } ] } diff --git a/public/side-menu-items/nur.json b/public/side-menu-items/nur.json index 93f9a0bb..7382702e 100644 --- a/public/side-menu-items/nur.json +++ b/public/side-menu-items/nur.json @@ -13,12 +13,10 @@ "children": [ { "title": "Antrian Poliklinik", - "icon": "i-lucide-stethoscope", "link": "/outpatient/polyclinic-queue" }, { "title": "Pendaftaran", - "icon": "i-lucide-building-2", "link": "/outpatient/encounter" } ] @@ -29,12 +27,10 @@ "children": [ { "title": "Triase", - "icon": "i-lucide-stethoscope", "link": "/emergency/triage" }, { "title": "Pemeriksaan", - "icon": "i-lucide-building-2", "link": "/emergency/encounter" } ] @@ -46,12 +42,10 @@ "children": [ { "title": "Antrean Poliklinik", - "icon": "i-lucide-stethoscope", "link": "/rehab/polyclinic-queue" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/rehab/encounter" } ] @@ -69,12 +63,12 @@ { "title": "Kemoterapi", "icon": "i-lucide-droplets", - "link": "/outpatient-medical-act/cemotherapy" + "link": "/cemotherapy/encounter" }, { "title": "Hemofilia", "icon": "i-lucide-droplet-off", - "link": "/outpatient-medical-act/hemophilia" + "link": "/hemophilia/encounter" } ] }, @@ -84,17 +78,17 @@ { "title": "Thalasemi", "icon": "i-lucide-baby", - "link": "/child-medical-act/thalasemia" + "link": "/thalasemia/encounter" }, { "title": "Echocardiography", "icon": "i-lucide-baby", - "link": "/child-medical-act/echocardiography" + "link": "/echocardiography/encounter" }, { "title": "Spirometri", "icon": "i-lucide-baby", - "link": "/child-medical-act/spirometry" + "link": "/spirometry/encounter" } ] } diff --git a/public/side-menu-items/reg.json b/public/side-menu-items/reg.json index 2a61e6ee..86d6d4ed 100644 --- a/public/side-menu-items/reg.json +++ b/public/side-menu-items/reg.json @@ -13,12 +13,10 @@ "children": [ { "title": "Antrian Pendaftaran", - "icon": "i-lucide-stethoscope", "link": "/outpatient/registration-queue" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/outpatient/encounter" } ] @@ -35,12 +33,10 @@ "children": [ { "title": "Antrean Pendaftaran", - "icon": "i-lucide-building-2", "link": "/rehab/registration-queue" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/rehab/encounter" } ] @@ -51,66 +47,13 @@ "children": [ { "title": "Permintaan", - "icon": "i-lucide-stethoscope", "link": "/inpatient/request" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/inpatient/encounter" } ] - }, - { - "title": "Obat - Order", - "icon": "i-lucide-briefcase-medical", - "children": [ - { - "title": "Permintaan", - "icon": "i-lucide-user", - "link": "/medication/order" - }, - { - "title": "Standing Order", - "icon": "i-lucide-user", - "link": "/medication/standing-order" - } - ] - } - ] - }, - { - "heading": "Ruang Tindakan Rajal", - "items": [ - { - "title": "Kemoterapi", - "icon": "i-lucide-droplets", - "link": "/outpatient-medical-act/cemotherapy" - }, - { - "title": "Hemofilia", - "icon": "i-lucide-droplet-off", - "link": "/outpatient-medical-act/hemophilia" - } - ] - }, - { - "heading": "Ruang Tindakan Anak", - "items": [ - { - "title": "Thalasemi", - "icon": "i-lucide-baby", - "link": "/child-medical-act/thalasemia" - }, - { - "title": "Echocardiography", - "icon": "i-lucide-baby", - "link": "/child-medical-act/echocardiography" - }, - { - "title": "Spirometri", - "icon": "i-lucide-baby", - "link": "/child-medical-act/spirometry" } ] }, @@ -128,41 +71,5 @@ "link": "/client/medical-record" } ] - }, - { - "heading": "Integrasi", - "items": [ - { - "title": "BPJS", - "icon": "i-lucide-circuit-board", - "children": [ - { - "title": "SEP", - "icon": "i-lucide-circuit-board", - "link": "/bpjs-integration/sep" - }, - { - "title": "Peserta", - "icon": "i-lucide-circuit-board", - "link": "/bpjs-integration/member" - } - ] - }, - { - "title": "SATUSEHAT", - "icon": "i-lucide-database", - "link": "/satusehat-integration" - }, - { - "heading": "Keuangan", - "items": [ - { - "title": "Daftar harga", - "icon": "i-lucide-list", - "link": "/item" - } - ] - } - ] } ] diff --git a/public/side-menu-items/sys.json b/public/side-menu-items/sys.json index 4029099a..8266c40f 100644 --- a/public/side-menu-items/sys.json +++ b/public/side-menu-items/sys.json @@ -13,18 +13,19 @@ "children": [ { "title": "Antrian Pendaftaran", - "icon": "i-lucide-stethoscope", "link": "/outpatient/registration-queue" }, { "title": "Antrian Poliklinik", - "icon": "i-lucide-stethoscope", "link": "/outpatient/polyclinic-queue" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/outpatient/encounter" + }, + { + "title": "Konsultasi", + "link": "/outpatient/consultation" } ] }, @@ -34,34 +35,37 @@ "children": [ { "title": "Triase", - "icon": "i-lucide-stethoscope", "link": "/emergency/triage" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/emergency/encounter" + }, + { + "title": "Konsultasi", + "link": "/emergency/consultation" } ] }, { - "title": "Rehabilitasi Medik", + "title": "Rehab Medik", "icon": "i-lucide-bike", "children": [ { "title": "Antrean Pendaftaran", - "icon": "i-lucide-building-2", "link": "/rehab/registration-queue" }, { "title": "Antrean Poliklinik", - "icon": "i-lucide-stethoscope", "link": "/rehab/polyclinic-queue" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/rehab/encounter" + }, + { + "title": "Konsultasi", + "link": "/rehab/consultation" } ] }, @@ -71,13 +75,15 @@ "children": [ { "title": "Permintaan", - "icon": "i-lucide-stethoscope", "link": "/inpatient/request" }, { "title": "Kunjungan", - "icon": "i-lucide-building-2", "link": "/inpatient/encounter" + }, + { + "title": "Konsultasi", + "link": "/inpatient/consultation" } ] }, @@ -87,12 +93,10 @@ "children": [ { "title": "Permintaan", - "icon": "i-lucide-user", "link": "/medication/order" }, { "title": "Standing Order", - "icon": "i-lucide-user", "link": "/medication/standing-order" } ] @@ -135,12 +139,12 @@ { "title": "Kemoterapi", "icon": "i-lucide-droplets", - "link": "/outpatient-medical-act/cemotherapy" + "link": "/cemotherapy/encounter" }, { "title": "Hemofilia", "icon": "i-lucide-droplet-off", - "link": "/outpatient-medical-act/hemophilia" + "link": "/hemophilia/encounter" } ] }, @@ -150,17 +154,17 @@ { "title": "Thalasemi", "icon": "i-lucide-baby", - "link": "/child-medical-act/thalasemia" + "link": "/thalasemia/encounter" }, { "title": "Echocardiography", "icon": "i-lucide-baby", - "link": "/child-medical-act/echocardiography" + "link": "/echocardiography/encounter" }, { "title": "Spirometri", "icon": "i-lucide-baby", - "link": "/child-medical-act/spirometry" + "link": "/spirometry/encounter" } ] }, @@ -224,27 +228,22 @@ "children": [ { "title": "Obat", - "icon": "i-lucide-stethoscope", "link": "/tools-equipment-src/medicine" }, { "title": "Peralatan", - "icon": "i-lucide-tools", "link": "/tools-equipment-src/tools" }, { "title": "Perlengkapan (BMHP)", - "icon": "i-lucide-stethoscope", "link": "/tools-equipment-src/equipment" }, { "title": "Metode Obat", - "icon": "i-lucide-user", "link": "/tools-equipment-src/medicine-method" }, { "title": "Jenis Obat", - "icon": "i-lucide-user", "link": "/tools-equipment-src/medicine-type" } ] @@ -255,12 +254,10 @@ "children": [ { "title": "Pegawai", - "icon": "i-lucide-stethoscope", "link": "/human-src/employee" }, { "title": "PPDS", - "icon": "i-lucide-user", "link": "/human-src/specialist-intern" } ] @@ -271,7 +268,6 @@ "children": [ { "title": "Checkup", - "icon": "i-lucide-stethoscope", "link": "/mcu-src/mcu" } ] @@ -282,37 +278,30 @@ "children": [ { "title": "Counter", - "icon": "i-lucide-stethoscope", "link": "/service-src/counter" }, { "title": "Public Screen (Big Screen)", - "icon": "i-lucide-tools", "link": "/service-src/public-screen" }, { "title": "Kasur", - "icon": "i-lucide-tools", "link": "/service-src/bed" }, { "title": "Kamar", - "icon": "i-lucide-stethoscope", "link": "/service-src/chamber" }, { "title": "Ruang", - "icon": "i-lucide-stethoscope", "link": "/service-src/chamber" }, { "title": "Lantai", - "icon": "i-lucide-user", "link": "/service-src/floor" }, { "title": "Gedung", - "icon": "i-lucide-user", "link": "/service-src/building" } ] @@ -323,27 +312,22 @@ "children": [ { "title": "Divisi", - "icon": "i-lucide-stethoscope", "link": "/org-src/division" }, { "title": "Instalasi", - "icon": "i-lucide-tools", "link": "/org-src/installation" }, { "title": "Unit", - "icon": "i-lucide-tools", "link": "/org-src/unit" }, { "title": "Specialist", - "icon": "i-lucide-stethoscope", "link": "/org-src/specialist" }, { "title": "Sub Specialist", - "icon": "i-lucide-user", "link": "/org-src/subspecialist" } ] @@ -354,7 +338,6 @@ "children": [ { "title": "Uom", - "icon": "i-lucide-airplay", "link": "/common/uom" } ] @@ -365,7 +348,6 @@ "children": [ { "title": "Item & Pricing", - "icon": "i-lucide-airplay", "link": "/common/item" } ] From 829bd730344b9605de89bca6050a98faefb6156c Mon Sep 17 00:00:00 2001 From: Andrian Roshandy Date: Mon, 29 Sep 2025 07:46:13 +0700 Subject: [PATCH 4/4] feat/tidy-up: - mengurangi elm yg tidak diperlukan - menyesuaikan font-size sesuai breakpoint --- app/assets/css/main.css | 6 +- app/components/app/medicine/entry-form.vue | 2 +- .../app/prescription-item/list-entry.ts | 66 ++++++++++++++ .../app/prescription-item/list-entry.vue | 19 ++++ app/components/app/prescription/entry.vue | 32 +++++++ app/components/app/prescription/list.vue | 42 +++++++++ app/components/content/division/list.vue | 44 +++++----- app/components/content/equipment/list.vue | 86 +++++++++---------- app/components/content/installation/list.vue | 38 ++++---- .../content/medicine-group/list.vue | 84 +++++++++--------- .../content/medicine-method/list.vue | 84 +++++++++--------- app/components/content/prescription/list.vue | 69 +++++++++++++++ app/components/content/specialist/list.vue | 60 +++++++------ app/components/content/subspecialist/list.vue | 64 +++++++------- app/components/content/tools/list.vue | 86 +++++++++---------- app/components/content/unit/list.vue | 40 ++++----- app/components/layout/SidebarNavGroup.vue | 6 +- app/components/layout/SidebarNavLink.vue | 4 +- app/components/pub/custom-ui/form/label.vue | 4 +- app/components/pub/ui/input/Input.vue | 2 +- app/components/pub/ui/label/Label.vue | 2 +- .../pub/ui/select/SelectTrigger.vue | 2 +- app/layouts/default.vue | 19 +++- .../(features)/org-src/division/index.vue | 10 +-- .../(features)/org-src/installation/index.vue | 10 +-- .../(features)/org-src/specialist/index.vue | 10 +-- .../org-src/subspecialist/index.vue | 10 +-- app/pages/(features)/org-src/unit/index.vue | 10 +-- .../tools-equipment-src/equipment/index.vue | 12 ++- .../medicine-method/index.vue | 12 ++- .../medicine-type/index.vue | 12 ++- .../tools-equipment-src/medicine/add.vue | 4 +- .../tools-equipment-src/medicine/index.vue | 10 +-- .../tools-equipment-src/tools/index.vue | 12 ++- app/pages/_dev/prescription/list.vue | 41 +++++++++ 35 files changed, 628 insertions(+), 386 deletions(-) create mode 100644 app/components/app/prescription-item/list-entry.ts create mode 100644 app/components/app/prescription-item/list-entry.vue create mode 100644 app/components/app/prescription/entry.vue create mode 100644 app/components/app/prescription/list.vue create mode 100644 app/components/content/prescription/list.vue create mode 100644 app/pages/_dev/prescription/list.vue diff --git a/app/assets/css/main.css b/app/assets/css/main.css index d27f89d7..b04b1eac 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -170,7 +170,11 @@ body { } body { - @apply bg-slate-100 dark:bg-slate-800; + @apply bg-slate-100 dark:bg-slate-800 ; +} + +body, table, label { + @apply md:!text-xs xl:!text-sm 2xl:!text-base; } /* Container */ diff --git a/app/components/app/medicine/entry-form.vue b/app/components/app/medicine/entry-form.vue index 5d3c495d..719eea5d 100644 --- a/app/components/app/medicine/entry-form.vue +++ b/app/components/app/medicine/entry-form.vue @@ -38,7 +38,7 @@ const items = [ - +