✨ feat (patient): add edit page
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<AppPatientEntryForm />
|
||||
</template>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user