feat/encounter: wip

This commit is contained in:
Andrian Roshandy
2025-10-13 06:26:30 +07:00
parent f7c53fc4e5
commit 6bdee66cc6
7 changed files with 130 additions and 74 deletions
+5 -5
View File
@@ -9,13 +9,13 @@ import type { TabItem } from '~/components/pub/my-ui/comp-tab/type'
import { getDetail } from '~/services/encounter.service'
import AssesmentFunctionList from '~/components/content/assesment-function/list.vue'
import EarlyMedicalAssesmentList from '~/components/content/soapi/entry.vue'
import PrescriptionList from '~/components/content/prescription/list.vue'
import type { Encounter } from '~/models/encounter'
import Status from '~/components/app/encounter/status.vue'
// import AssesmentFunctionList from '~/components/content/assesment-function/list.vue'
import AssesmentFunctionList from '~/components/content/assesment-function/list.vue'
import Status from '~/components/content/encounter/status.vue'
import EarlyMedicalAssesmentList from '~/components/content/soapi/entry.vue'
import EarlyMedicalRehabList from '~/components/content/soapi/entry.vue'
import PrescriptionList from '~/components/content/prescription/list.vue'
const route = useRoute()
const router = useRouter()
+4 -3
View File
@@ -50,19 +50,20 @@ function checkOutSubmit(values: CheckOutFormData) {
<template>
<div class="lg:grid grid-cols-2">
<div class="border-r lg:pe-4 xl:pe-5">
<div class="border-r lg:pe-4 xl:pe-5 mb-10">
<div class="mb-4 xl:mb-5 text-base text-center font-semibold">Informasi Masuk</div>
<Checkin
:schema="CheckInSchema"
:doctors="doctors"
:encounter="encounter"
:values="checkInValues"
:is-loading="checkOutIsLoading"
:is-readonly="checkOutIsReadonly"
:is-loading="checkInIsLoading"
:is-readonly="checkInIsReadonly"
@submit="checkInSubmit"
/>
</div>
<div class="lg:ps-4 xl:ps-5">
<Separator class="lg:hidden my-4 xl:my-5" />
<div class="mb-4 xl:mb-5 text-base text-center font-semibold">Informasi Keluar</div>
<Checkout
:schema="CheckOutSchema"