diff --git a/v1/assay_format.html b/v1/assay_format.html new file mode 100644 index 0000000..8743eac --- /dev/null +++ b/v1/assay_format.html @@ -0,0 +1,882 @@ + + + + + + + Assay Format XPORT + + + + + + + + + + +
+ + +
+ +

Port Server

+
+
+ + + + + +
+ + + +
+ +
+
+ + + +
+
+
+ + +
+ + + + +
+
+ +
+ +
+

add

+
+ +
+
+ +
+ + + +
+
+
    + + +
+
+ +
+ + + + + +
+ + + + + +
+ + + + + + + + +
+ +
+ + +
+ + +
+ + +
+
+
+ +
+
+ + +
+
+
+
+
+ + + +
+
+ +
+ +
+

edit

+
+ +
+
+
+ + + +
+ + +
+
    + + +
+
+ + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+
+
+
+
+ + + +
+ +
+
+ +
+
+ +
+
+ +
+
+

PORT STATUS

+
+ + +
+
+

Port 0

+

TCP (192 168.0.1 : 2000)

+

Offline

+

XN5000

+
+ +
+
+

PORT STATUS

+
+ + +
+
+

Port 1

+

TCP (192 168.0.1 : 2000)

+

Offline

+

XN5000

+
+
+
+
+
+ +
+
+

PORT STATUS

+
+ + +
+
+

Port 0

+

TCP (192 168.0.1 : 2000)

+

Offline

+

XN5000

+
+ +
+
+

PORT STATUS

+
+ + +
+
+

Port 1

+

TCP (192 168.0.1 : 2000)

+

Offline

+

XN5000

+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/v1/js/assay_format.js b/v1/js/assay_format.js new file mode 100644 index 0000000..a7dd38c --- /dev/null +++ b/v1/js/assay_format.js @@ -0,0 +1,86 @@ +document.addEventListener('alpine:init', () => { + Alpine.data('assayFormat', () => ({ + // 0. Init dijalankan sebelum inisialisasi + init(){ + + }, + // 1. Inisialisasi Start + showDialogAdd: false, + showDialogEdit: false, + loadingVerifikasi: false, + dataAssayFormat: [ + { + idAssayFormat: 1, + idInstrument: 1, + namaInstrument: 'Hema 01', + assayCode: 'WBC', + decimalFont: '5001', + formula: '' + }, + { + idAssayFormat: 2, + idInstrument: 2, + namaInstrument: 'Axsym', + assayCode: 'IgG', + decimalFont: '2001', + formula: '' + }, + { + idAssayFormat: 3, + idInstrument: 3, + namaInstrument: 'Cobas C311', + assayCode: 'DBIL', + decimalFont: '4001', + formula: '(TBIL) - (DBIL)' + }, + ], + selectedInstrument: { + idInstrument: -1, + namaInstrument: 'Instrument' + }, + openInstrument: false, + dataInstrument: [ + { + idInstrument: 1, + namaInstrument: 'Hema 01', + }, + { + idInstrument: 2, + namaInstrument: 'Axsym', + }, + { + idInstrument: 3, + namaInstrument: 'Cobas C311', + }, + ], + hasilVerifikasi: '', + isErrorVerifikasi: false, + // 1. Inisialisasi End + // 2. Fungsi Start + closeDialog(){ + this.openInstrument = false; + this.selectedInstrument = { + idInstrument: -1, + namaInstrument: 'Instrument' + }; + this.loadingVerifikasi = false; + this.isErrorVerifikasi = false; + this.hasilVerifikasi = '' + this.showDialogAdd = false + }, + onChangeInstrument(item){ + this.openInstrument = false; + this.selectedInstrument = item; + }, + onProcessVerifiaksi(){ + this.loadingVerifikasi = true; + + setTimeout(() => { + this.loadingVerifikasi = false; + this.isErrorVerifikasi = false; + this.hasilVerifikasi = 'Formula is valid'; + }, 2000); + }, + // 2. Fungsi End + })) +}) \ No newline at end of file