feat(sep): testing save of sep

This commit is contained in:
riefive
2025-10-20 15:50:25 +07:00
parent e009ff4c89
commit 0a62d95d3a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ const [supportCode, supportCodeAttrs] = defineField('supportCode')
// Submit handler
const onSubmit = handleSubmit((values) => {
console.log('✅ Validated form values:', values)
console.log('✅ Validated form values:', JSON.stringify(values, null, 2))
emit('event', 'save-sep', values)
})
+2 -2
View File
@@ -227,11 +227,11 @@ function handleEvent(menu: string, value: string) {
return
}
if (menu === 'back') {
navigateTo('/bpjs/sep')
navigateTo('/integration/bpjs/sep')
}
if (menu === 'save-sep') {
createSep(createSepPayload()).then(() => {
navigateTo('/bpjs/sep')
navigateTo('/integration/bpjs/sep')
})
}
}