农经大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
2.1 KiB

  1. const getters = {
  2. sidebar: state => state.app.sidebar,
  3. year: state => { return state.user.year ? state.user.year : new Date().getFullYear() },
  4. deptId: state => { return state.user.deptId ? state.user.deptId : 100 },
  5. deptLength: state => { return state.user.deptLength ? state.user.deptLength : 0 },
  6. size: state => state.app.size,
  7. device: state => state.app.device,
  8. visitedViews: state => state.tagsView.visitedViews,
  9. cachedViews: state => state.tagsView.cachedViews,
  10. token: state => state.user.token,
  11. avatar: state => state.user.avatar,
  12. name: state => state.user.name,
  13. introduction: state => state.user.introduction,
  14. roles: state => state.user.roles,
  15. userRoles: state => state.user.userRoles,
  16. permissions: state => state.user.permissions,
  17. setUpModuleId: state => state.user.setUpModuleId,
  18. permission_routes: state => state.permission.routes,
  19. bookName: state => state.user.bookName,
  20. sidebarRouters: state => state.permission.sidebarRouters,
  21. nickName: state => state.user.nickName,
  22. businessOwnership: state => state.user.businessOwnership,
  23. deptLevel: state => state.user.deptLevel,
  24. businessLevel: state => state.user.businessLevel,
  25. bookType: state => state.user.bookType,
  26. deptname: state => state.user.deptname,
  27. leader: state => state.user.leader,
  28. parentDeptName: state => state.user.parentDeptName,
  29. deptName: state => state.user.deptName,
  30. userType: state => state.user.userType,
  31. allDeptName: state => state.user.allDeptName,
  32. systemConfigList: state => state.user.systemConfigList, //获取登录页标题
  33. loginSystemName: state => state.user.loginSystemName, //系统名称
  34. browserName: state => state.user.browserName, //浏览器页签名称
  35. technicalSupport: state => state.user.technicalSupport, //技术支持
  36. noticeThree: state => state.user.noticeThree, //阅读须知 0 未阅读
  37. baseRoutingUrl: state => state.user.baseRoutingUrl, //资源文件访问前缀
  38. bigscreenUrl: state => state.user.bigscreenUrl, //大数据指挥舱
  39. globalLogo: state => state.user.globalLogo, //全局logo
  40. screenLogo: state => state.user.screenLogo, //大屏logo
  41. }
  42. export default getters