diff --git a/list-patient/components/barcodeDialog.vue b/list-patient/components/barcodeDialog.vue new file mode 100644 index 0000000..b4504a1 --- /dev/null +++ b/list-patient/components/barcodeDialog.vue @@ -0,0 +1,166 @@ + + + diff --git a/list-patient/components/changeBirthdayDialog.vue b/list-patient/components/changeBirthdayDialog.vue new file mode 100644 index 0000000..2544938 --- /dev/null +++ b/list-patient/components/changeBirthdayDialog.vue @@ -0,0 +1,95 @@ + + + diff --git a/list-patient/components/filter.vue b/list-patient/components/filter.vue new file mode 100644 index 0000000..494e1df --- /dev/null +++ b/list-patient/components/filter.vue @@ -0,0 +1,166 @@ + + + diff --git a/list-patient/components/infoDialog.vue b/list-patient/components/infoDialog.vue new file mode 100644 index 0000000..ef52b0c --- /dev/null +++ b/list-patient/components/infoDialog.vue @@ -0,0 +1,102 @@ + + + diff --git a/list-patient/components/lists.vue b/list-patient/components/lists.vue new file mode 100644 index 0000000..51f44e8 --- /dev/null +++ b/list-patient/components/lists.vue @@ -0,0 +1,268 @@ + + + + + diff --git a/list-patient/components/main.vue b/list-patient/components/main.vue new file mode 100644 index 0000000..0e21134 --- /dev/null +++ b/list-patient/components/main.vue @@ -0,0 +1,40 @@ + + + diff --git a/list-patient/components/materialDialog.vue b/list-patient/components/materialDialog.vue new file mode 100644 index 0000000..9bd0244 --- /dev/null +++ b/list-patient/components/materialDialog.vue @@ -0,0 +1,53 @@ + + + diff --git a/list-patient/index.html b/list-patient/index.html new file mode 100644 index 0000000..843c256 --- /dev/null +++ b/list-patient/index.html @@ -0,0 +1,120 @@ + + + + + + WESTONE + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + diff --git a/list-patient/language.js b/list-patient/language.js new file mode 100644 index 0000000..41914d1 --- /dev/null +++ b/list-patient/language.js @@ -0,0 +1,110 @@ +var CustomMessages = { + en: { + message: { + barcode: { + action: "ACTION", + barcode: "BARCODE", + close: "Close", + form: "Form", + label: "Special Labels", + printRobo: "Robo Print", + printSelected: "Selected Print", + specimen: "SPECIMEN", + title: "Barcode Print", + }, + changeBirthday: { + close: "Close", + datePicker: "Birthday", + save: "Save", + title: "Change Birthday", + }, + filter: { + customerComplaint: "Cust. Complaint", + doctor: "Doctor", + endDate: "End Date", + noRegOrName: "Registration No./Name", + startDate: "Start Date", + }, + infoDialog: { + barcode: "Barcode", + changeBirthday: "Change Birthday", + close: "Close", + material: "Materials arrived", + title: "INFORMATION", + }, + material: { + blood: "BLOOD", + cancel: "Cancel", + correct: "Correct", + materialYet: "MATERIAL YET:", + title: "WARNING", + }, + tableListPatient: { + agreement: "AGREEMENT", + delivery: "DELIVERY", + doctor: "DOCTOR", + inspection: "INSPECTION", + name: "NAME", + no: "NO.", + noreg: "REGISTRATION NO", + result: "SCHEDULE", + title: "LIST PATIENT", + total: "TOTAL", + }, + }, + }, + id: { + message: { + barcode: { + action: "AKSI", + barcode: "BARCODE", + close: "Tutup", + form: "Formulir", + label: "Label Khusus", + printRobo: "Cetak Robo", + printSelected: "Cetak Terpilih", + specimen: "SPECIMEN", + title: "Cetak Barcode", + }, + changeBirthday: { + close: "Tutup", + datePicker: "Tanggal Lahir", + save: "Simpan", + title: "Revisi Tanggal Lahir", + }, + filter: { + customerComplaint: "Kel. Pelanggan", + doctor: "Dokter", + endDate: "Tanggal Akhir", + noRegOrName: "No Reg/Nama", + startDate: "Tanggal Awal", + }, + infoDialog: { + barcode: "Barcode", + changeBirthday: "Revisi Tanggal Lahir", + close: "Tutup", + material: "Bahan Datang", + title: "INFO", + }, + material: { + blood: "DARAH", + cancel: "Tidak Jadi", + correct: "Benar", + materialYet: "BAHAN BELUM:", + title: "PERINGATAN", + }, + tableListPatient: { + agreement: "AGREEMENT", + delivery: "PENGIRIMAN", + doctor: "DOKTER", + inspection: "PEMERIKSAAN", + name: "NAMA", + no: "NO.", + noreg: "NO REG", + result: "JANJI HASIL", + title: "LIST PASIEN", + total: "TOTAL", + }, + }, + }, +}; diff --git a/list-patient/modules/collection.js b/list-patient/modules/collection.js new file mode 100644 index 0000000..8014115 --- /dev/null +++ b/list-patient/modules/collection.js @@ -0,0 +1,148 @@ +const store = { + state() { + return { + startDate: new Date(), + endDate: new Date(), + birthday: null, + doctor_dropdown: ["Lorem", "ipsum", "dolor", "sit", "amet"], + cust_complaint_dropdown: ["Lorem", "ipsum", "dolor", "sit", "amet"], + selectedPatient: {}, + menuSelectedPatient: false, + menuMaterial: false, + menuBarcode: false, + menuChangeBirthday: false, + patients: [ + { + no: 1, + process: false, + noReg1: "05600011LA", + noReg2: "056M3T65LA", + name: "Tn. ARI ANTONI KALBUADI", + birthday: "06-01-1987", + staff: "admin", + orderTime: "19-08-2024 09:46", + agreement: "PASIEN MANDIRI - PROMO PAKET IMLEK 2024", + doctor: { name: "drg. A. B. DARMADI", no: "3101004815" }, + result: [ + "19-08-2024 13:46:39", + "20-08-2024 12:00:00", + "21-08-2024 17:00:00", + ], + inspection: ["Hermatologi Lengkap", "Urine Lengkap", "SGOT"], + delivery: ["Ambil Sendiri"], + total: { all: "359.000" }, + }, + { + no: 2, + process: true, + noReg1: "05600012LA", + noReg2: "056R9G95LA", + name: "Tn. HANDOYO", + birthday: "07-06-1989", + staff: "adminsas", + orderTime: "19-08-2024 12:32", + agreement: "PASIEN KLINISI - PASIEN UMUM 2021", + doctor: { name: "-", no: "3101006048" }, + result: [ + "", + "19-08-2024 16:32:49", + "20-08-2024 12:00:00", + "21-08-2024 17:00:00", + ], + inspection: [ + "SGOT", + "Glukosa Darah Puasa", + "Hermatologi Lengkap", + "Home Sevice Zone 1 (sekali kedatangan)", + ], + delivery: ["Ambil Sendiri"], + total: { all: "339.000" }, + }, + { + no: 3, + process: false, + noReg1: "05600013LA", + noReg2: "056P8M39LA", + name: "Tn. COCOBA", + birthday: "06-1-1987", + staff: "admin", + orderTime: "20-08-2024 08:57", + agreement: "SASONE - MCU KARYAWAN 2024", + doctor: { name: "ASEP TRI HANDOKO, dr.", no: "3104129" }, + result: [ + "19-08-2024 13:57:04", + "20-08-2024 12:00:00", + "21-08-2024 17:00:00", + ], + inspection: ["Cholesterol", "SGOT", "Hermatologi Lengkap"], + delivery: ["Ambil Sendiri"], + total: { all: "279.000", disc: "279.000" }, + }, + { + no: 4, + process: false, + noReg1: "05600014LA", + noReg2: "056U7H2BLA", + name: "Tn. HAYASHI SHIDEKI", + birthday: "06-01-1987", + staff: "admin", + orderTime: "20-08-2024 09:25", + agreement: "PASIEN MANDIRI - PROMO PAKET IMLEK 2024", + doctor: { name: "ASEP TRI HANDOKO, dr.", no: "3104129" }, + result: ["20-08-2024 13:25:44", "21-08-2024 12:00:00"], + inspection: ["SGPT", "SGOT"], + delivery: ["Ambil Sendiri"], + total: { all: "176.000", disc: "176.000" }, + }, + { + no: 5, + process: false, + noReg1: "05600015LA", + noReg2: "056U7U56LA", + name: "Tn. KUSTIRAONO SUJIMAN", + birthday: "06-01-1987", + staff: "admin", + orderTime: "20-08-2024 11:00", + agreement: "PASIEN MANDIRI - PROMO PAKET IMLEK 2024", + doctor: { name: "dr. A BENY SETIAWAN", no: "3101210939" }, + result: ["20-08-2024 15:00:30", "22-08-2024 12:00:00"], + inspection: ["SGOT", "SGPT"], + delivery: ["Ambil Sendiri"], + total: { all: "176.000" }, + }, + ], + printItem: [], + }; + }, + mutations: { + setStartDate(state, date) { + state.startDate = date; + }, + setEndDate(state, date) { + state.endDate = date; + }, + setSelectedPatient(state, item) { + state.selectedPatient = item; + }, + setMenuSelectedPatient(state, val) { + state.menuSelectedPatient = val; + }, + setMenuMaterial(state, val) { + state.menuMaterial = val; + }, + setMenuBarcode(state, val) { + state.menuBarcode = val; + }, + setMenuChangeBirthday(state, val) { + state.menuChangeBirthday = val; + }, + setBirthday(state, birthday) { + state.birthday = birthday; + }, + setPrintItem(state, items) { + state.printItem = items; + }, + }, +}; + +export default store;