device.js 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import Layout from '@/views/layout/Layout'
  2. import {
  3. S_IFMT
  4. } from 'constants'
  5. export default {
  6. path: '/device',
  7. component: Layout,
  8. redirect: '/device/main',
  9. name: 'device',
  10. alwaysShow: true,
  11. meta: {
  12. title: 'deviceManage',
  13. icon: 'shebei'
  14. },
  15. children: [
  16. {
  17. path: '/device/main',
  18. component: () => import('@/xt_pages/management/index'),
  19. // component: () => import("@/xt_pages/device/main"),
  20. name: 'dialysisMachineManage',
  21. meta: {
  22. title: 'dialysisMachineManage',
  23. noCache: true,
  24. }
  25. },
  26. {
  27. path: '/device/mode',
  28. component: () => import('@/xt_pages/mode/index'),
  29. name: 'modemanagement',
  30. meta: {
  31. title: 'modemanagement',
  32. noCache: true,
  33. }
  34. },
  35. {
  36. path: '/device/home',
  37. component: () => import('@/xt_pages/management/home'),
  38. name: 'managementHome',
  39. is_menu: false,
  40. hidden: true,
  41. meta: {
  42. title: '设备管理详情页',
  43. noCache: true,
  44. }
  45. }
  46. ]
  47. }