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