123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import Vue from 'vue';
- import Vuex from 'vuex';
- import classes from '@frame/store/classes';
- import dept from '@frame/store/dept';
- import location from '@frame/store/location';
- import bedroom from '@frame/store/bedroom';
- import director from '@frame/store/director';
- import student from '@frame/store/student';
- import task from '@frame/store/task';
- import subject from '@frame/store/subject';
- import question from '@frame/store/question';
- import questionnaire from '@frame/store/questionnaire';
- import teacher from '@frame/store/teacher';
- import trainplan from '@frame/store/trainplan';
- import duty from '@frame/store/duty';
- import school from '@frame/store/school';
- import schPlan from '@frame/store/sch-plan';
- import teaPlan from '@frame/store/tea-plan';
- import lesson from '@frame/store/lesson';
- import trainTemplate from '@frame/store/train-template';
- import leave from '@frame/store/leave';
- import nation from '@frame/store/nation';
- import completion from '@frame/store/question-completion';
- import termquest from '@frame/store/termquest';
- import dirPlan from '@frame/store/dir-plan';
- import login from '@frame/store/login';
- import * as ustate from '@frame/store/user/state';
- import * as umutations from '@frame/store/user/mutations';
- Vue.use(Vuex);
- export default new Vuex.Store({
- modules: {
- dept,
- classes,
- location,
- bedroom,
- director,
- student,
- task,
- subject,
- question,
- questionnaire,
- teacher,
- trainplan,
- duty,
- schPlan,
- school,
- teaPlan,
- lesson,
- nation,
- completion,
- termquest,
- login,
- dirPlan,
- leave,
- trainTemplate,
- },
- state: { ...ustate },
- mutations: { ...umutations },
- actions: {},
- });
|