Files
2026-04-27 10:13:31 +07:00

29 lines
668 B
JavaScript

// State
// data ...
// Mutations
//
//
// Actions
import samplecall from "./modules/samplecall.js";
import order_info from "./modules/order_info.js";
import system from "../../../apps/modules/system/system.js";
export const store = new Vuex.Store({
modules: {
samplecall: samplecall,
order_info:order_info,
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)
}
}
});