2019-07-25 10:32:29 +08:00
|
|
|
import Vuex from 'vuex';
|
2020-04-01 13:47:29 +08:00
|
|
|
import Vue from 'vue';
|
2019-07-25 10:32:29 +08:00
|
|
|
import app from './modules/app';
|
|
|
|
import settings from './modules/settings';
|
|
|
|
import user from './modules/user';
|
|
|
|
import config from './modules/config';
|
|
|
|
import permission from './modules/permission';
|
|
|
|
import map from './modules/map';
|
2019-07-25 13:24:40 +08:00
|
|
|
import menuOperation from './modules/menuoperation';
|
2019-07-26 13:32:43 +08:00
|
|
|
import training from './modules/training';
|
|
|
|
import trainingList from './modules/trainingList';
|
|
|
|
import exam from './modules/exam';
|
|
|
|
import runPlan from './modules/runplan';
|
|
|
|
import socket from './modules/socket';
|
2019-08-08 10:31:46 +08:00
|
|
|
import scriptRecord from './modules/scriptRecord';
|
2019-08-27 14:17:36 +08:00
|
|
|
import ibp from './modules/ibp';
|
2019-12-09 15:35:57 +08:00
|
|
|
import order from './modules/order';
|
2020-01-15 13:27:07 +08:00
|
|
|
import iscs from './modules/iscs';
|
2019-07-26 13:32:43 +08:00
|
|
|
|
2019-07-25 10:32:29 +08:00
|
|
|
import getters from './getters';
|
2019-07-02 16:29:52 +08:00
|
|
|
|
2020-03-31 16:54:04 +08:00
|
|
|
Vue.use(Vuex);
|
2019-07-02 16:29:52 +08:00
|
|
|
|
|
|
|
const store = new Vuex.Store({
|
2019-11-11 17:03:21 +08:00
|
|
|
modules: {
|
|
|
|
app,
|
|
|
|
settings,
|
|
|
|
user,
|
|
|
|
permission,
|
|
|
|
config,
|
|
|
|
map,
|
|
|
|
menuOperation,
|
|
|
|
training,
|
|
|
|
trainingList,
|
|
|
|
exam,
|
|
|
|
runPlan,
|
|
|
|
socket,
|
|
|
|
scriptRecord,
|
2019-12-09 15:35:57 +08:00
|
|
|
ibp,
|
2020-01-15 13:27:07 +08:00
|
|
|
order,
|
|
|
|
iscs
|
2019-11-11 17:03:21 +08:00
|
|
|
},
|
|
|
|
getters
|
2019-07-25 10:32:29 +08:00
|
|
|
});
|
2019-07-02 16:29:52 +08:00
|
|
|
|
2019-07-25 10:32:29 +08:00
|
|
|
export default store;
|