dev: hotfix temp

This commit is contained in:
2025-12-08 12:33:31 +07:00
parent d78e0b1ae7
commit 5db181fc16
12 changed files with 7893 additions and 6317 deletions

No files matched your search

+51 -60
View File
@@ -133,30 +133,27 @@ const isExcluded = (key: string) => props.excludeFields?.includes(key)
<div class="my-2">
<h1 class="font-semibold">Penanggung Jawab</h1>
</div>
<Block :col-count="2" :cell-flex="false">
<Cell>
<Label dynamic>Nama Penanggung Jawab</Label>
<Field>
<Input
v-model="responsibleName"
v-bind="responsibleNameAttrs"
/>
</Field>
</Cell>
<div class="my-2 rounded-md border border-slate-300 p-4">
<Block :colCount="2">
<Cell>
<Label dynamic>Nama Penanggung Jawab</Label>
<Field>
<Input
v-model="responsibleName"
v-bind="responsibleNameAttrs"
/>
</Field>
</Cell>
<Cell>
<Label dynamic>No. Hp Penanggung Jawab</Label>
<Field>
<Input
v-model="responsiblePhone"
v-bind="responsiblePhoneAttrs"
/>
</Field>
</Cell>
</Block>
</div>
<Cell>
<Label dynamic>No. Hp Penanggung Jawab</Label>
<Field>
<Input
v-model="responsiblePhone"
v-bind="responsiblePhoneAttrs"
/>
</Field>
</Cell>
</Block>
<Separator class="mt-8" />
@@ -164,20 +161,17 @@ const isExcluded = (key: string) => props.excludeFields?.includes(key)
<div class="my-2">
<h1 class="font-semibold">Pemberi Informasi</h1>
</div>
<div class="my-2 rounded-md border border-slate-300 p-4">
<Block>
<Cell>
<Label dynamic>Informant</Label>
<Field>
<Input
v-model="informant"
v-bind="informantAttrs"
/>
</Field>
</Cell>
</Block>
</div>
<Block :col-count="2" :cell-flex="false">
<Cell>
<Label dynamic>Informant</Label>
<Field>
<Input
v-model="informant"
v-bind="informantAttrs"
/>
</Field>
</Cell>
</Block>
<Separator class="mt-8" />
@@ -185,30 +179,27 @@ const isExcluded = (key: string) => props.excludeFields?.includes(key)
<div class="my-2">
<h1 class="font-semibold">Saksi</h1>
</div>
<Block :col-count="2" :cell-flex="false">
<Cell>
<Label dynamic>Saksi 1</Label>
<Field>
<Input
v-model="witness1"
v-bind="witness1Attrs"
/>
</Field>
</Cell>
<div class="my-2 rounded-md border border-slate-300 p-4">
<Block :colCount="2">
<Cell>
<Label dynamic>Saksi 1</Label>
<Field>
<Input
v-model="witness1"
v-bind="witness1Attrs"
/>
</Field>
</Cell>
<Cell>
<Label dynamic>Saksi 2</Label>
<Field>
<Input
v-model="witness2"
v-bind="witness2Attrs"
/>
</Field>
</Cell>
</Block>
</div>
<Cell>
<Label dynamic>Saksi 2</Label>
<Field>
<Input
v-model="witness2"
v-bind="witness2Attrs"
/>
</Field>
</Cell>
</Block>
</div>
</form>
</template>
+19 -6
View File
@@ -13,20 +13,33 @@ const props = defineProps<{
Order {{ data?.createdAt?.substring(0, 10) }} - {{ data?.status_code }}
</div>
<div class="max-w-[1000px]">
<DE.Block mode="preview" :col-count=5 class="!mb-3">
<DE.Block :col-count=5 class="!mb-3" :cell-flex="false">
<DE.Cell :col-span="2">
<DE.Label class="font-semibold">DPJP</DE.Label>
<DE.Label>DPJP</DE.Label>
<DE.Field>
{{ data?.doctor?.employee?.person?.name || '.........' }}
<Input :value="data?.doctor?.employee?.person?.name || '.........'" readonly />
</DE.Field>
</DE.Cell>
<DE.Cell></DE.Cell>
<DE.Cell :col-span="2">
<DE.Label class="font-semibold">PPDS</DE.Label>
<DE.Label>PPDS</DE.Label>
<DE.Field>
...........
<Input :value="'.........'" readonly />
</DE.Field>
</DE.Cell>
<DE.Cell :col-span="2">
<DE.Label>Pemeriksaan Ke</DE.Label>
<DE.Field>
<Input readonly />
</DE.Field>
</DE.Cell>
<DE.Cell></DE.Cell>
<DE.Cell :col-span="2">
<DE.Label>Temperatur Aksiler</DE.Label>
<DE.Field>
<Input />
</DE.Field>
</DE.Cell>
</DE.Block>
</div>
</template>
</template>
+2 -2
View File
@@ -142,10 +142,10 @@ async function getPatientList() {
try {
const params: any = { includes: includesParams, ...filterParams.value }
if (props.classCode) {
params.class_code = props.classCode
params['class-code'] = props.classCode
}
if (props.subClassCode) {
params.sub_class_code = props.subClassCode
params['sub-class-code'] = props.subClassCode
}
const result = await getEncounterList(params)
if (result.success) {
+3 -3
View File
@@ -108,8 +108,8 @@ const protocolRows = [
{ value: 'prescription', label: 'Order Obat', component: Prescription, props: { encounter_id: data.value.id } },
{ value: 'device-order', label: 'Order Alkes', component: DeviceOrder, props: { encounter_id: data.value.id } },
{ value: 'device', label: 'Order Alkes' },
{ value: 'mcu-radiology', label: 'Order Radiologi', component: Radiology, props: { encounter_id: data.id } },
{ value: 'mcu-lab-cp', label: 'Order Lab PK', component: CpLabOrder, props: { encounter_id: data.id } },
{ value: 'mcu-radiology', label: 'Order Radiologi', component: Radiology, props: { encounter_id: data.value.id } },
{ value: 'mcu-lab-cp', label: 'Order Lab PK', component: CpLabOrder, props: { encounter_id: data.value.id } },
{ value: 'consent', label: 'General Consent', component: GeneralConsentList, props: { encounter: data } },
{
value: 'initial-nursing-study',
@@ -219,4 +219,4 @@ async function getData() {
:can-delete="canDelete"
/>
</div>
</template>
</template>
@@ -117,7 +117,6 @@ async function actionHandler(type: string) {
})
}
console.log('data', result)
const resp = await handleActionSave(
{
...payload.value,
@@ -131,6 +131,7 @@ async function getItems() {
<Detail :data="data" />
<div class="font-semibold pt-4 text-sm mb-1">Daftar Item</div>
<ItemListEntry
:data="items"
@requestItem="requestItem"/>
@@ -132,9 +132,20 @@ async function getItems() {
<Detail :data="data" />
<div class="mb-5">
<div>Keterangan Klinis</div>
<Textarea />
</div>
<ItemListEntry
:data="items"
@requestItem="requestItem"/>
<div class="my-5">
<div>Catatan Pemeriksaan DSA</div>
<Textarea />
</div>
<Separator class="my-5" />
<div class="w-full flex justify-center">