Flatten nested repos
This commit is contained in:
39
test/vuex/one-queue-fo-old/store.js
Normal file
39
test/vuex/one-queue-fo-old/store.js
Normal file
@@ -0,0 +1,39 @@
|
||||
// State
|
||||
// data ...
|
||||
// Mutations
|
||||
//
|
||||
//
|
||||
// Actions
|
||||
import patient from "./modules/patient.js";
|
||||
import patientaddress from "./modules/patientaddress.js";
|
||||
import doctor from "./modules/doctor.js";
|
||||
import language from "./modules/language.js";
|
||||
import order from "./modules/order.js";
|
||||
import delivery from "./modules/delivery.js";
|
||||
import company from "./modules/company.js";
|
||||
import px from "./modules/px.js";
|
||||
import payment from "./modules/payment.js";
|
||||
|
||||
export const store = new Vuex.Store({
|
||||
state : {
|
||||
tab_active : '01'
|
||||
},
|
||||
|
||||
mutations : {
|
||||
change_tab(state, tab) {
|
||||
state.tab_active = tab;
|
||||
}
|
||||
},
|
||||
|
||||
modules : {
|
||||
patient: patient,
|
||||
patientaddress: patientaddress,
|
||||
doctor: doctor,
|
||||
language: language,
|
||||
order: order,
|
||||
delivery: delivery,
|
||||
company: company,
|
||||
px:px,
|
||||
payment:payment
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user