index.js 784 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import mutations from "./mutations";
  2. import * as getters from "./getters";
  3. import sand from "./modules/sand";
  4. import ppt from "./modules/ppt";
  5. import edb from "./modules/edb";
  6. // 应用初始状态
  7. const state = {
  8. theme: "#409EFF",
  9. status: null, //用户在线状态
  10. dataAuth: null, //是否有数据报表权限
  11. //角色类型编码
  12. Role_type: [
  13. "admin", //管理员
  14. "ficc_admin", //ficc管理员
  15. "ficc_seller", //ficc销售
  16. "rai_admin", //权益管理员
  17. "rai_seller", //权益销售
  18. "rai_researcher", //权益研究员
  19. "ficc_researcher", //ficc研究员
  20. ],
  21. isCollapse: false,
  22. breadSelfName: '',//面包屑自定义当前页面name
  23. };
  24. export default {
  25. state,
  26. getters,
  27. mutations,
  28. modules: {
  29. sand,
  30. ppt,
  31. edb,
  32. },
  33. };