37 lines
1.0 KiB
JavaScript
37 lines
1.0 KiB
JavaScript
// State
|
|
// data ...
|
|
// Mutations
|
|
//
|
|
//
|
|
// Actions
|
|
import receive_patient from "./modules/receive_patient.js";
|
|
import process_patient from "./modules/process_patient.js";
|
|
import handling_patient from "./modules/handling_patient.js";
|
|
import handling_process_patient from "./modules/handling_process_patient.js";
|
|
import system from "../../../apps/modules/system/system.js";
|
|
|
|
export const store = new Vuex.Store({
|
|
state : {
|
|
tab_active : '01',
|
|
tabs : [
|
|
{"label":"TERIMA DARI VERIFICATION", "icon":"opacity", "code":"01"},
|
|
{"label":"SPECIMEN HANDLING", "icon":"verified_user", "code":"02"},
|
|
{"label":"KIRIM KE SPECIMEN PROSES", "icon":"verified_user", "code":"03"}
|
|
]
|
|
},
|
|
|
|
mutations : {
|
|
change_tab(state, tab) {
|
|
state.tab_active = tab;
|
|
}
|
|
},
|
|
|
|
modules : {
|
|
receive_patient: receive_patient,
|
|
process_patient: process_patient,
|
|
handling_patient: handling_patient,
|
|
handling_process_patient: handling_process_patient,
|
|
system: system
|
|
}
|
|
});
|