step 37 : fix selected raw data
This commit is contained in:
@@ -90,7 +90,8 @@ document.addEventListener('alpine:init', () => {
|
|||||||
sampleID: '20251209',
|
sampleID: '20251209',
|
||||||
assayNo: 'WBC',
|
assayNo: 'WBC',
|
||||||
result: '100',
|
result: '100',
|
||||||
date: '2025-05-01 08:00:01'
|
date: '2025-05-01 08:00:01',
|
||||||
|
logs: '',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
idResult: 2,
|
idResult: 2,
|
||||||
@@ -99,7 +100,8 @@ document.addEventListener('alpine:init', () => {
|
|||||||
sampleID: '20251209',
|
sampleID: '20251209',
|
||||||
assayNo: 'IgG',
|
assayNo: 'IgG',
|
||||||
result: '20',
|
result: '20',
|
||||||
date: '2025-05-01 08:00:01'
|
date: '2025-05-01 08:00:01',
|
||||||
|
logs: ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
idResult: 3,
|
idResult: 3,
|
||||||
@@ -108,9 +110,20 @@ document.addEventListener('alpine:init', () => {
|
|||||||
sampleID: '20251209',
|
sampleID: '20251209',
|
||||||
assayNo: 'TBIL',
|
assayNo: 'TBIL',
|
||||||
result: '12',
|
result: '12',
|
||||||
date: '2025-05-01 08:00:01'
|
date: '2025-05-01 08:00:01',
|
||||||
|
logs: ''
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
selectedRawData: {
|
||||||
|
idResult: -1,
|
||||||
|
idInstrument: -1,
|
||||||
|
namaInstrument: '',
|
||||||
|
sampleID: '',
|
||||||
|
assayNo: '',
|
||||||
|
result: '',
|
||||||
|
date: '',
|
||||||
|
logs: '',
|
||||||
|
},
|
||||||
selectedInstrument: {
|
selectedInstrument: {
|
||||||
idInstrument: -1,
|
idInstrument: -1,
|
||||||
namaInstrument: 'Instrument'
|
namaInstrument: 'Instrument'
|
||||||
@@ -143,6 +156,7 @@ document.addEventListener('alpine:init', () => {
|
|||||||
this.selectedInstrument = { ...item };
|
this.selectedInstrument = { ...item };
|
||||||
},
|
},
|
||||||
openModalRawData(item){
|
openModalRawData(item){
|
||||||
|
this.selectedRawData = item
|
||||||
this.rawDataDesktop = true
|
this.rawDataDesktop = true
|
||||||
},
|
},
|
||||||
closeDialog(){
|
closeDialog(){
|
||||||
|
|||||||
@@ -264,22 +264,27 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- body -->
|
<!-- body -->
|
||||||
<div class="mx-6 my-5">
|
<div class="mx-6 my-5">
|
||||||
<div class="flex items-center px-4 py-2 border-b border-gray-200 w-full">
|
<template x-if="selectedRawData.idResult != -1">
|
||||||
<span class="text-gray-900 w-1/5">Cobas C311</span>
|
<div>
|
||||||
<span class="text-gray-900 w-1/5">20251209</span>
|
<div class="flex items-center px-4 py-2 border-b border-gray-200 w-full">
|
||||||
<span class="text-gray-900 w-1/5">TBIL</span>
|
<span class="text-gray-900 w-1/5" x-text="selectedRawData.namaInstrument"></span>
|
||||||
<span class="text-gray-900 w-1/5">12</span>
|
<span class="text-gray-900 w-1/5" x-text="selectedRawData.sampleID"></span>
|
||||||
<span class="text-gray-900 w-1/5">2025-05-01 08:00:01</span>
|
<span class="text-gray-900 w-1/5" x-text="selectedRawData.assayNo"></span>
|
||||||
</div>
|
<span class="text-gray-900 w-1/5" x-text="selectedRawData.result"></span>
|
||||||
<div class="flex flex-1 bg-[#F0F2F5DE] flex-col rounded-lg mt-5 p-5">
|
<span class="text-gray-900 w-1/5" x-text="selectedRawData.date"></span>
|
||||||
<h3 class="font-normal text-base text-black/87 mb-3">
|
</div>
|
||||||
H|^&\\cobas6000^1|||||host|RUPL^REAL|P|1</h3>
|
<div class="flex flex-1 bg-[#F0F2F5DE] flex-col rounded-lg mt-5 p-5">
|
||||||
<h3 class="font-normal text-base text-black/87 mb-3">P|1|||||||||||M||||||||||59^Y</h3>
|
<h3 class="font-normal text-base text-black/87 mb-3">
|
||||||
<h3 class="font-normal text-base text-black/87 mb-3">O|1|
|
H|^&\\cobas6000^1|||||host|RUPL^REAL|P|1</h3>
|
||||||
250304063223|0^5016^2^^^s1^sc|^^^452^^^^418</h3>
|
<h3 class="font-normal text-base text-black/87 mb-3">P|1|||||||||||M||||||||||59^Y
|
||||||
<h3 class="font-normal text-base text-black/87 mb-3">C|1|SYAHRIL EFFENDI ^^^|G</h3>
|
</h3>
|
||||||
<h3 class="font-normal text-base text-black/87 mb-3">C|1|SYAHRIL EFFENDI ^^^|G</h3>
|
<h3 class="font-normal text-base text-black/87 mb-3">O|1|
|
||||||
</div>
|
250304063223|0^5016^2^^^s1^sc|^^^452^^^^418</h3>
|
||||||
|
<h3 class="font-normal text-base text-black/87 mb-3">C|1|SYAHRIL EFFENDI ^^^|G</h3>
|
||||||
|
<h3 class="font-normal text-base text-black/87 mb-3">C|1|SYAHRIL EFFENDI ^^^|G</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<div class="h-10 px-4 py-2 mb-5">
|
<div class="h-10 px-4 py-2 mb-5">
|
||||||
|
|||||||
Reference in New Issue
Block a user