feat(sep): add form entry

This commit is contained in:
riefive
2025-09-10 12:56:34 +07:00
parent d9262b42f5
commit 93f5ba0092
5 changed files with 188 additions and 7 deletions
+20
View File
@@ -0,0 +1,20 @@
<script setup lang="ts">
const isLoading = ref(false)
function onBack() {
navigateTo('/bpjs/sep')
}
async function onSubmit(data: any) {
console.log(data)
}
</script>
<template>
<div class="mb-5 border-b border-b-slate-300 pb-3 text-lg xl:text-xl">
<Icon name="i-lucide-panel-bottom" class="me-2" />
<span class="font-semibold">Tambah</span> SEP
</div>
<AppSepEntryForm />
</template>
+4 -2
View File
@@ -91,13 +91,15 @@ const headerPrep: HeaderPrep = {
icon: 'i-lucide-panel-bottom',
addNav: {
label: 'Tambah',
onClick: () => {},
onClick: () => {
navigateTo('/bpjs/sep/add')
},
},
}
async function getSepList() {
isLoading.dataListLoading = true
data.value = [...rows];
data.value = [...rows]
isLoading.dataListLoading = false
}