dev: hotfix, content header adjustment

This commit is contained in:
2025-10-17 16:53:44 +07:00
parent 4adf31516e
commit e6717e2b6d
33 changed files with 91 additions and 89 deletions
+1 -1
View File
@@ -71,8 +71,8 @@ function handleAction(type: string) {
<Header
:prep="headerPrep"
:ref-search-nav="headerPrep.refSearchNav"
class="mb-4 border-b-2 border-b-slate-300 pb-2 xl:mb-5"
/>
<AppPatientPreview
:person="patient.person"
:person-addresses="patient.personAddresses"
+41 -36
View File
@@ -48,36 +48,37 @@ const headerPrep: HeaderPrep = {
},
}
const summaryData = ref<Summary[]>([
{
title: 'Total Pasien',
icon: UsersRound,
metric: 23,
trend: 15,
timeframe: 'daily',
},
{
title: 'Pasien Aktif',
icon: UserCheck,
metric: 100,
trend: 9,
timeframe: 'daily',
},
{
title: 'Kunjungan Hari Ini',
icon: Calendar,
metric: 52,
trend: 1,
timeframe: 'daily',
},
{
title: 'Peserta BPJS',
icon: Hospital,
metric: 71,
trend: -3,
timeframe: 'daily',
},
])
// Disable dulu, ayahab kalo diminta
// const summaryData = ref<Summary[]>([
// {
// title: 'Total Pasien',
// icon: UsersRound,
// metric: 23,
// trend: 15,
// timeframe: 'daily',
// },
// {
// title: 'Pasien Aktif',
// icon: UserCheck,
// metric: 100,
// trend: 9,
// timeframe: 'daily',
// },
// {
// title: 'Kunjungan Hari Ini',
// icon: Calendar,
// metric: 52,
// trend: 1,
// timeframe: 'daily',
// },
// {
// title: 'Peserta BPJS',
// icon: Hospital,
// metric: 71,
// trend: -3,
// timeframe: 'daily',
// },
// ])
// #endregion
// #region Lifecycle Hooks
@@ -165,7 +166,9 @@ watch([recId, recAction], () => {
:prep="{ ...headerPrep }"
:ref-search-nav="refSearchNav"
/>
<div class="my-4 flex flex-1 flex-col gap-4 md:gap-8">
<!-- Disable dulu, ayahab kalo diminta beneran -->
<!-- <div class="my-4 flex flex-1 flex-col gap-4 md:gap-8">
<div class="grid gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-4">
<template v-if="summaryLoading">
<SummaryCard
@@ -182,12 +185,14 @@ watch([recId, recAction], () => {
/>
</template>
</div>
<AppPatientList
:data="data"
:pagination-meta="paginationMeta"
@page-change="handlePageChange"
/>
</div>
-->
<AppPatientList
:data="data"
:pagination-meta="paginationMeta"
@page-change="handlePageChange"
/>
<RecordConfirmation
v-model:open="isRecordConfirmationOpen"