feat(sep): testing vclaim monitoring

This commit is contained in:
riefive
2025-10-17 14:34:21 +07:00
parent b25b463725
commit 90ab600755
7 changed files with 73 additions and 8 deletions
+15 -3
View File
@@ -1,6 +1,5 @@
<script setup lang="ts">
import { id } from 'date-fns/locale'
import { ref } from 'vue'
import { ref, onMounted } from 'vue'
// Types
import type { PaginationMeta } from '~/components/pub/my-ui/pagination/pagination.type'
@@ -8,6 +7,8 @@ import type { PatientEntity } from '~/models/patient'
// Services
import { getPatientDetail, getPatients } from '~/services/patient.service'
import { getList as getVclaimMonitoringVisitList } from '~/services/vclaim-monitoring-visit.service'
import { getList as getVclaimMonitoringHistoryList } from '~/services/vclaim-monitoring-history.service'
const openPatient = ref(false)
const openLetter = ref(false)
@@ -155,6 +156,14 @@ function handleEvent(value: string) {
navigateTo('/bpjs/sep')
}
}
onMounted(() => {
getVclaimMonitoringHistoryList({ nop: '0002078925513', tglawal: '2025-07-20', tglakhir: '2025-10-10' }).then(
(value) => {
console.log('value:', value)
},
)
})
</script>
<template>
@@ -166,7 +175,10 @@ function handleEvent(value: string) {
<span class="font-semibold">Tambah</span>
SEP
</div>
<AppSepEntryForm :patient="selectedPatientObject" @event="handleEvent" />
<AppSepEntryForm
:patient="selectedPatientObject"
@event="handleEvent"
/>
<AppSepTableSearchPatient
v-model:open="openPatient"
v-model:selected="selectedPatient"