From 8de89cb579ab5056b40201acd47643d95de8a7b7 Mon Sep 17 00:00:00 2001 From: bagus-arie05 Date: Fri, 23 Jan 2026 08:22:42 +0700 Subject: [PATCH] update anjungan --- pages/Anjungan/Anjungan/[id].vue | 51 +++++++++++++++----------------- stores/clinicStore.js | 2 +- 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/pages/Anjungan/Anjungan/[id].vue b/pages/Anjungan/Anjungan/[id].vue index 3b8b214..6cf3616 100644 --- a/pages/Anjungan/Anjungan/[id].vue +++ b/pages/Anjungan/Anjungan/[id].vue @@ -49,7 +49,7 @@ size="14" :color=" clinic.available - ? 'var(--color-neutral-100)' + ? 'var(--color-primary-600)' : 'var(--color-neutral-600)' " > @@ -63,7 +63,7 @@ size="12" :color=" clinic.available - ? 'var(--color-neutral-100)' + ? 'var(--color-neutral-600)' : 'var(--color-neutral-600)' " > @@ -104,7 +104,6 @@ v-model="showVisitTypeDialog" max-width="900" @click:outside="showVisitTypeDialog = false" - persistent > @@ -129,6 +128,27 @@
+ +
+

+ Kuota Hari Ini (Shift + {{ getCurrentShiftNumber() }}): +

+
+ {{ + getCurrentShiftQuota() + }} + pasien tersedia +
+
+ + +

Pilih Dokter:

@@ -193,24 +213,6 @@

-
-

- Kuota Hari Ini (Shift - {{ getCurrentShiftNumber() }}): -

-
- {{ - getCurrentShiftQuota() - }} - pasien tersedia -
-
-

Jadwal: {{ selectedClinic.schedule }}

@@ -349,7 +351,6 @@ v-model="showDoctorSelectionDialog" max-width="600" @click:outside="showDoctorSelectionDialog = false" - persistent > @@ -492,7 +493,6 @@ @@ -564,7 +564,6 @@ @@ -839,7 +838,7 @@ const getDisplayDoctorInfo = (clinic) => { return "Tidak ada dokter"; } - const maxDisplay = 2; + const maxDisplay = 1; if (doctors.length <= maxDisplay) { return doctors.join(", "); @@ -1720,8 +1719,6 @@ watch(lastRegisteredPatient, (newVal) => { word-wrap: break-word; line-height: 1.3; display: -webkit-box; - -webkit-line-clamp: 3; - line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; diff --git a/stores/clinicStore.js b/stores/clinicStore.js index 4e3248f..e4c9388 100644 --- a/stores/clinicStore.js +++ b/stores/clinicStore.js @@ -820,7 +820,7 @@ export const useClinicStore = defineStore('clinic', () => { subtitle: "", icon: "mdi-hospital-box", shift: `${parsed.shift} SHIFT`, - schedule: `Mulai Pukul ${firstShift?.dari || '07:00'}`, + schedule: `Mulai Pukul ${(firstShift?.dari || '07:00').substring(0, 5)}`, available: item.active, doctors: [], shifts: [],