// State // data ... // Mutations // // // Actions import patient from "./modules/patient.js"; import gcs from "./modules/gcs.js"; import conf from "./modules/conf.js"; import diagnose from "./modules/diagnose.js"; import order from "./modules/order.js"; import receipt from "./modules/receipt.js"; import px from "./modules/px.js"; import status from "./modules/status.js"; import system from "../../../apps/modules/system/system.js"; export const store = new Vuex.Store({ state : { loaded : 0, dialog_loading : false, }, mutations : { inc_loaded (state) { state.loaded = state.loaded + 1 }, update_dialog_loading(state, v) { state.dialog_loading = v } }, modules : { diagnose: diagnose, gcs: gcs, conf: conf, patient: patient, order: order, receipt: receipt, px: px, status: status, system: system } });