update flow anjungan,checkin,admin,dan klinik ruang

This commit is contained in:
bagus-arie05
2026-01-07 11:35:55 +07:00
parent 9e399c9f64
commit 155e3d9ea7
7 changed files with 842 additions and 63 deletions
+14 -20
View File
@@ -18,16 +18,6 @@
{{ status.label }} ({{ status.count }})
</v-chip>
</v-chip-group>
<!-- Search Field -->
<v-text-field
v-model="searchModel"
placeholder="Cari barcode, nomor antrian..."
density="compact"
hide-details
class="search-field"
prepend-inner-icon="mdi-magnify"
/>
</div>
<!-- Advanced Filters -->
@@ -200,6 +190,10 @@ const props = defineProps({
type: Number,
default: 0
},
waitingCount: {
type: Number,
default: 0
},
showDiproses: {
type: Boolean,
default: true
@@ -295,6 +289,16 @@ const statusOptions = computed(() => {
});
}
// Tambahkan kategori "Menunggu" (pasien yang sudah dipanggil tapi belum check-in)
if (props.waitingCount > 0) {
baseOptions.push({
value: 'waiting',
label: 'Menunggu',
count: props.waitingCount,
icon: 'mdi-clock-outline'
});
}
baseOptions.push(
{ value: 'terlambat', label: props.statusLabels.terlambat, count: props.terlambatCount },
{ value: 'pending', label: props.statusLabels.pending, count: props.pendingCount }
@@ -459,11 +463,6 @@ const handleAction = (patient, action) => {
border-color: var(--color-secondary-600);
}
.search-field {
max-width: 300px;
min-width: 250px;
}
.advanced-filters {
display: flex;
gap: 12px;
@@ -543,11 +542,6 @@ const handleAction = (patient, action) => {
min-width: 100%;
}
.search-field {
max-width: 100%;
min-width: 100%;
}
.advanced-filters {
flex-direction: column;
}