add translation label

This commit is contained in:
2024-08-19 16:13:33 +07:00
parent 08e181f3ce
commit a6f4c60cb2
5 changed files with 155 additions and 83 deletions

View File

@@ -1,13 +1,15 @@
const store = {
state() {
return {
date: new Date(),
temp_dropdown: ["Lorem", "ipsum", "dolor", "sit", "amet"],
patients: [
{
tanggal: "31-07-2024",
noreg: "055000037LA",
kelpelanggan: "PASIEN MANDIRI",
nama: "Tn. Alpha",
status: "call",
status: "New",
},
{
tanggal: "31-07-2024",
@@ -31,6 +33,24 @@ const store = {
nama: "-",
status: "-",
},
details: {
staff: "NOVITA",
specimen: [
{
specimen: "EDTA Rutin",
barcode: "055000035LSE1A",
},
{
specimen: "EDTA Rutin",
barcode: "0550000AA223FF",
},
],
jenis: ["DARAH", "SWAB/SEKRET" ]
},
pemeriksaan: [
"Hematologi Lengkap", "Golongan Darah Rhesus", "Kultur Usap Tenggorokan (Vitek)",
]
};
},
mutations: {
@@ -40,11 +60,12 @@ const store = {
setSelectedPatients(state, data) {
state.selected_patients = data
},
setDate(state, date) {
state.date = date;
}
},
actions: {
selectPatient({ commit, data }) {
commit('setSelectedPatients', data);
}
}
}