feat(sep): implement save sep

This commit is contained in:
riefive
2025-10-20 15:34:05 +07:00
parent 74aadc4f75
commit e009ff4c89
4 changed files with 86 additions and 6 deletions
+6
View File
@@ -21,6 +21,7 @@ import { getValueLabelList as getDiagnoseLabelList } from '~/services/vclaim-dia
import { getList as getDiagnoseReferralList } from '~/services/vclaim-diagnose-referral.service'
import { getList as geMonitoringVisitList } from '~/services/vclaim-monitoring-visit.service'
import { getList as getMonitoringHistoryList } from '~/services/vclaim-monitoring-history.service'
import { create as createSep, createPayload as createSepPayload } from '~/services/vclaim-sep.service'
const openPatient = ref(false)
const openLetter = ref(false)
@@ -228,6 +229,11 @@ function handleEvent(menu: string, value: string) {
if (menu === 'back') {
navigateTo('/bpjs/sep')
}
if (menu === 'save-sep') {
createSep(createSepPayload()).then(() => {
navigateTo('/bpjs/sep')
})
}
}
onMounted(async () => {