productOperation.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. import type { AppRouteRecordRaw } from '/@/router/types';
  2. import { t } from '/@/hooks/web/useI18n';
  3. import { LAYOUT } from '/@/router/constant';
  4. export const productOperation: AppRouteRecordRaw = {
  5. path: '/productOperation',
  6. name: 'ProductOperation',
  7. redirect: '/productOperation/index',
  8. component: LAYOUT,
  9. meta: {
  10. title: t('routes.dashboard.productOperation'),
  11. icon: 'carbon:carbon-for-ibm-product',
  12. orderNo: 102,
  13. // hideChildrenInMenu: true,
  14. },
  15. children: [
  16. {
  17. path: 'cameraScene',
  18. name: 'CameraScene',
  19. component: () => import('/@/views/productOperation/cameraScene.vue'),
  20. meta: {
  21. title: t('routes.dashboard.cameraScene'),
  22. // icon: 'la:file-invoice-dollar',
  23. },
  24. children: [
  25. {
  26. path: 'laserScene',
  27. name: 'LaserScene',
  28. component: () => import('/@/views/productOperation/sceneManager/laserScene.vue'),
  29. meta: {
  30. title: t('routes.dashboard.laserScene'),
  31. // icon: 'la:file-invoice-dollar',
  32. },
  33. },
  34. // {
  35. // path: 'liteScene',
  36. // name: 'LiteScene',
  37. // component: () => import('/@/views/productOperation/sceneManager/liteScene.vue'),
  38. // meta: {
  39. // title: t('routes.dashboard.liteScene'),
  40. // // icon: 'la:file-invoice-dollar',
  41. // },
  42. // },
  43. {
  44. path: 'kankanScene',
  45. name: 'KankanScene',
  46. component: () => import('/@/views/productOperation/sceneManager/kankanScene.vue'),
  47. meta: {
  48. title: t('routes.dashboard.kankanScene'),
  49. // icon: 'la:file-invoice-dollar',
  50. },
  51. },
  52. {
  53. path: 'minionScene',
  54. name: 'MinionScene',
  55. component: () => import('/@/views/productOperation/sceneManager/minionScene.vue'),
  56. meta: {
  57. title: t('routes.dashboard.MinionScene'),
  58. // icon: 'la:file-invoice-dollar',
  59. },
  60. },
  61. ],
  62. },
  63. {
  64. path: 'sxz',
  65. name: 'Sxz',
  66. component: () => import('/@/views/productOperation/sxz.vue'),
  67. meta: {
  68. title: t('routes.dashboard.sxz'),
  69. // icon: 'la:file-invoice-dollar',
  70. },
  71. },
  72. {
  73. path: 'viewKankan',
  74. name: 'ViewKankan',
  75. component: () => import('/@/views/productOperation/viewKankan.vue'),
  76. meta: {
  77. title: t('routes.dashboard.viewKankan'),
  78. // icon: 'la:file-invoice-dollar',
  79. },
  80. },
  81. ],
  82. };
  83. export default productOperation;