Flatten nested repos
This commit is contained in:
45
test/vuex/one-sampling-v2/store.js
Normal file
45
test/vuex/one-sampling-v2/store.js
Normal file
@@ -0,0 +1,45 @@
|
||||
// State
|
||||
// data ...
|
||||
// Mutations
|
||||
//
|
||||
//
|
||||
// Actions
|
||||
import patient from "./modules/patient.js";
|
||||
import sampling from "./modules/sampling.js";
|
||||
import queue from "./modules/queue.js";
|
||||
|
||||
import ver_patient from "./modules/ver_patient.js";
|
||||
import ver_verification from "./modules/ver_verification.js";
|
||||
|
||||
import system from "../../../apps/modules/system/system.js";
|
||||
|
||||
export const store = new Vuex.Store({
|
||||
state : {
|
||||
tab_active : '01',
|
||||
tabs : [
|
||||
{"label":"SPECIMEN", "icon":"opacity", "code":"01"},
|
||||
{"label":"KIRIM KE SPECIMEN VERIFICATION", "icon":"verified_user", "code":"02"}
|
||||
],
|
||||
|
||||
dialog_confirm: false
|
||||
},
|
||||
|
||||
mutations : {
|
||||
change_tab(state, tab) {
|
||||
state.tab_active = tab;
|
||||
},
|
||||
|
||||
update_dialog_confirm(state, v) {
|
||||
state.dialog_confirm = v
|
||||
}
|
||||
},
|
||||
|
||||
modules : {
|
||||
patient: patient,
|
||||
sampling: sampling,
|
||||
queue: queue,
|
||||
ver_patient: ver_patient,
|
||||
ver_verification: ver_verification,
|
||||
system: system
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user