feat (patient): add edit page

This commit is contained in:
Abizrh
2025-08-08 20:38:16 +07:00
parent d9fb2cff0c
commit 376af79449
15 changed files with 193 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
<script setup lang="ts"></script>
<template>
<AppPatientEntryForm />
</template>
+26
View File
@@ -0,0 +1,26 @@
<script setup lang="ts">
const refSearchNav = {
onClick: () => {
console.log('onClick dari parent')
},
onInput: (val: string) => {
console.log('>>>', val)
},
onClear: () => {
// refresh page
},
}
const hreaderPrep: HeaderPrep = {
title: 'Pasien',
icon: 'bi bi-journal-check',
addNav: {
label: 'Tambah',
onClick: () => (window.location.pathname = '/emergency/patient/add'),
},
}
</script>
<template>
<PubNavHeaderPrep :prep="{ ...hreaderPrep }" :ref-search-nav="refSearchNav" icon="i-lucide-add" />
</template>