add modules folder based on s_menu

This commit is contained in:
2026-06-30 10:16:11 +07:00
parent 315b657ee3
commit a1aab09ac9
625 changed files with 192283 additions and 794 deletions

View File

@@ -0,0 +1,31 @@
// State
// data ...
// Mutations
//
//
// Actions
import bill from "./modules/bill.js";
import paymentnew from "./modules/paymentnew.js";
import paymentmanual from "./modules/paymentmanual.js";
import system from "../../../apps/modules/system/system.js";
export const store = new Vuex.Store({
modules: {
bill: bill,
paymentnew:paymentnew,
paymentmanual: paymentmanual,
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)
}
}
});