123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- 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 questionanswer from '@frame/store/question-answer';
- 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 util from '@frame/store/util';
- import count from '@frame/store/count';
- import setting from '@frame/store/setting';
- import trainBatch from '@frame/store/train-plan-year';
- import attendance from '@frame/store/attendance';
- import group from '@frame/store/group';
- import uploadtask from '@frame/store/uploadtask';
- 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 notice from '@frame/store/notice';
- import classtype from '@frame/store/classtype';
- import liveroom from '@frame/store/liveroom';
- import answerapply from '@frame/store/answerapply';
- import chatroom from '@frame/store/chatroom';
- import answerchat from '@frame/store/answerchat';
- import trainvideo from '@frame/store/trainvideo';
- import personalscore from '@frame/store/personalscore';
- import groupscore from '@frame/store/groupscore';
- import cerconfirm from '@frame/store/cerconfirm';
- import experience from '@frame/store/experience';
- import talented from '@frame/store/talented';
- import mission from '@frame/store/mission';
- import document from '@frame/store/document';
- import logs from '@frame/store/logs';
- import menu from '@frame/store/auth/menu';
- import role from '@frame/store/auth/role';
- import user from '@frame/store/auth/user';
- import userMenu from '@frame/store/auth/userMenu';
- import * as ustate from '@frame/store/user/state';
- import * as umutations from '@frame/store/user/mutations';
- import * as dostate from '@frame/store/setting/state';
- import * as domutations from '@frame/store/setting/mutations';
- import other from '@frame/store/other';
- const _ = require('lodash');
- Vue.use(Vuex);
- export default new Vuex.Store({
- modules: {
- dept,
- classes,
- location,
- bedroom,
- director,
- student,
- task,
- subject,
- question,
- questionnaire,
- questionanswer,
- teacher,
- trainplan,
- duty,
- schPlan,
- school,
- teaPlan,
- lesson,
- nation,
- completion,
- termquest,
- login,
- dirPlan,
- leave,
- trainTemplate,
- other,
- util,
- count,
- setting,
- trainBatch,
- attendance,
- group,
- uploadtask,
- notice,
- classtype,
- liveroom,
- answerapply,
- chatroom,
- answerchat,
- trainvideo,
- personalscore,
- groupscore,
- cerconfirm,
- experience,
- talented,
- mission,
- menu,
- role,
- user,
- userMenu,
- logs,
- document,
- },
- state: { ...ustate, ...dostate },
- mutations: { ...umutations, ...domutations },
- actions: {},
- getters: {
- topOptions: state => {
- return state.defaultOption;
- },
- },
- });
|