feat(sep): testing vclaim monitoring
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user