Files
2026-05-25 20:01:37 +07:00

31 lines
760 B
JavaScript

// State
// data ...
// Mutations
//
//
// Actions
import samplecall from "./modules/samplecall.js";
import samplesend from "./modules/samplesend.js";
import samplestorage from "./modules/samplestorage.js";
import system from "../../apps/modules/system/system.js";
export const store = new Vuex.Store({
modules: {
samplecall: samplecall,
samplesend:samplesend,
samplestorage:samplestorage,
system: system
},
state: {
tab_selected: 'pasien-dokter'
},
mutations: {
change_tab(state, ntab) {
state.tab_selected = ntab
}
},
actions: {
change_tab(context, ntab) {
context.commit('change_tab', ntab)
}
}
});