Merge branch 'dev' of github.com:dikstub-rssa/simrs-fe into feat/satusehat

This commit is contained in:
Khafid Prayoga
2025-08-20 09:38:49 +07:00
8 changed files with 59 additions and 11 deletions
+15 -1
View File
@@ -1,6 +1,20 @@
<script setup lang="ts">
function onEvent(type: string) {
if (type === 'cancel') {
navigateTo('/doctor')
} else if (type === 'draft') {
// do something
} else if (type === 'submit') {
// do something
}
}
const data = ref({
name: '',
specialization: '',
hospital: '',
})
</script>
<template>
<AppDoctorEntryForm />
<AppDoctorEntryForm v-model="data" @event="onEvent" />
</template>