settings.js 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. module.exports = {
  2. /**
  3. * @type {string}
  4. * @description Web page title
  5. */
  6. title: 'ChargEco CSMS',
  7. version: 'v2.3.5',
  8. /**
  9. * @type {string}
  10. * @description project name
  11. */
  12. projectName: 'ChargEco',
  13. company: 'Strides YTL Pte. Ltd.',
  14. defaultCountry: 'SG',
  15. defaultCalling: '65',
  16. dashboardVersion: 2,
  17. enableWebPos: false,//是否显示WebPOS二合一二维码
  18. enableTopup: false,
  19. enableEVCPID: true,//是否显示EVCPID和ERC
  20. enableIdleFee: true,//是否显示独立的IdleFee管理模块
  21. enableOCPIToken: false, //是否显示完整的OCPI Token(仅ChargEco为false)
  22. enablePassword12: true, //是否启用高复杂度密码安全策略(仅ChargEco为true)
  23. enableSessionAuth: true, //是否启用Session管理登录而不是localStorage(仅ChargEco为true)
  24. /**
  25. * @type {string}
  26. * @description API url base service
  27. */
  28. baseUrl: '/steve',
  29. /**
  30. * @type {boolean} true | false
  31. * @description Whether show the settings right-panel
  32. */
  33. showSettings: false,
  34. /**
  35. * @type {boolean} true | false
  36. * @description Whether need tagsView
  37. */
  38. tagsView: false,
  39. /**
  40. * @type {boolean} true | false
  41. * @description Whether fix the header
  42. */
  43. fixedHeader: true,
  44. /**
  45. * @type {boolean} true | false
  46. * @description Whether show the logo in sidebar
  47. */
  48. sidebarLogo: true,
  49. /**
  50. * 是否启用在线校验路由
  51. * - true 每次刷新都将获取最新的路由权限
  52. * - false 每次刷新获取本地缓存的路由权限
  53. */
  54. enableOnlineAuth: true,
  55. /**
  56. * @type {string | array} 'production' | ['production', 'development']
  57. * @description Need show err logs component.
  58. * The default is only used in the production env
  59. * If you want to also use it in dev, you can pass ['production', 'development']
  60. */
  61. errorLog: 'production'
  62. }