echarts.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * @Author: From-wh from-wh@hotmail.com
  3. * @Date: 2023-02-21 09:14:27
  4. * @FilePath: /admin/src/router/modules/echarts.js
  5. * @Description:
  6. */
  7. // +---------------------------------------------------------------------
  8. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  9. // +---------------------------------------------------------------------
  10. // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
  11. // +---------------------------------------------------------------------
  12. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  13. // +---------------------------------------------------------------------
  14. // | Author: CRMEB Team <admin@crmeb.com>
  15. // +---------------------------------------------------------------------
  16. import LayoutMain from '@/layout';
  17. import setting from '@/setting'
  18. let routePre = setting.routePre;
  19. const pre = 'echarts_';
  20. export default {
  21. path: routePre+'/echarts',
  22. name: 'echarts',
  23. header: 'echarts',
  24. redirect: {
  25. name: `${pre}/trade/order`,
  26. },
  27. component: LayoutMain,
  28. children: [
  29. // {
  30. // path: 'trade/order',
  31. // name: `${pre}/trade/order`,
  32. // meta: {
  33. // auth: ['admin-order-storeOrder-index'],
  34. // title: '交易统计',
  35. // },
  36. // component: () => import('@/pages/echarts/trade/order'),
  37. // },
  38. // {
  39. // path: 'trade/product',
  40. // name: `${pre}/trade/product`,
  41. // meta: {
  42. // auth: ['admin-order-storeOrder-index'],
  43. // title: '商品统计',
  44. // },
  45. // component: () => import('@/pages/echarts/trade/product'),
  46. // },
  47. ],
  48. };