getters.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // +----------------------------------------------------------------------
  2. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  3. // +----------------------------------------------------------------------
  4. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  5. // +----------------------------------------------------------------------
  6. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  7. // +----------------------------------------------------------------------
  8. // | Author: CRMEB Team <admin@crmeb.com>
  9. // +----------------------------------------------------------------------
  10. export default {
  11. token: state => state.app.token, // 用户登录
  12. managerToken: state => state.app.managerToken, // 移动端商家管理登录
  13. workOrderToken: state => state.app.workOrderToken, // 工单管理员登录
  14. isLogin: state => !!state.app.token,
  15. backgroundColor: state => state.app.backgroundColor,
  16. userInfo: state => state.app.userInfo || {},
  17. uid: state => state.app.uid,
  18. homeActive: state => state.app.homeActive,
  19. home: state => state.app.home,
  20. chatUrl: state => state.app.chatUrl,
  21. systemPlatform: state => state.app.systemPlatform,
  22. productType: state => state.app.productType || 'normal',
  23. globalData: state => state.app.globalData,
  24. merchantClassify: state => state.app.merchantClassify,
  25. merchantType: state => state.app.merchantType,
  26. merchantAPPInfo: state => state.app.merchantAPPInfo,
  27. merSttledData: state => state.app.merSttledData,
  28. bottomNavigationIsCustom: state => state.app.bottomNavigationIsCustom,
  29. merTokenIsExist: state => state.app.merTokenIsExist,
  30. discoverTopic: state => state.app.discoverTopic,
  31. merchantEmployeeList:state => state.app.merchantEmployeeList,
  32. isEmployee:state => state.app.isEmployee,
  33. selectMerId:state => state.app.selectMerId,
  34. selectMerchantRole:state => state.app.selectMerchantRole,
  35. isAdvertisement: state => state.app.isAdvertisement,
  36. priceUnit: state => "sL"
  37. };