1f2998973ef63b55fcf5add6417211b023a08dfe.svn-base 811 B

1234567891011121314151617181920
  1. const getters = {
  2. sidebar: state => state.app.sidebar,
  3. device: state => state.app.device,
  4. token: state => state.user.token,
  5. avatar: state => state.user.avatar,
  6. name: state => state.user.name,
  7. roles: state => state.user.roles,
  8. buttons: state => state.user.buttons,
  9. pastureid: state => state.user.pastureid,
  10. pasturename: state => state.user.pasturename,
  11. pasturenumber: state => state.user.pasturenumber,
  12. employename: state => state.user.employename,
  13. employeid: state => state.user.employeid,
  14. dashchartid: state => state.user.dashchartid,
  15. ispastureuse: state => state.user.ispastureuse,
  16. decimal: state => state.user.decimal,
  17. dashchartidisedit: state => state.user.dashchartidisedit,
  18. permission_routes: state => state.permission.routes
  19. }
  20. export default getters