systems.js 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. import Layout from '@/views/layout/Layout'
  2. export default {
  3. path: '/system',
  4. component: Layout,
  5. redirect: '/role/admin/manage',
  6. name: 'system',
  7. alwaysShow: true,
  8. meta: {
  9. title: 'systemManage',
  10. icon: 'system'
  11. },
  12. children: [{
  13. path: '/role/admin/manage',
  14. component: () => import('@/xt_pages/role/admin'),
  15. name: 'adminManage',
  16. meta: {
  17. title: 'adminManage'
  18. }
  19. },
  20. {
  21. path: '/role/manage',
  22. component: () => import('@/xt_pages/role/role'),
  23. name: 'roleManage',
  24. meta: {
  25. title: 'roleManage'
  26. }
  27. },
  28. {
  29. path: '/role/admin/create',
  30. component: () => import('@/xt_pages/role/CreateAdmin'),
  31. name: 'addAdmin',
  32. meta: {
  33. title: 'addAdmin',
  34. noCache: true
  35. },
  36. hidden: true,
  37. is_menu: false
  38. },
  39. {
  40. path: '/role/admin/edit',
  41. component: () => import('@/xt_pages/role/EditAdmin'),
  42. name: 'editAdmin',
  43. meta: {
  44. title: 'editAdmin',
  45. noCache: true
  46. },
  47. hidden: true,
  48. is_menu: false
  49. },
  50. {
  51. path: '/role/perview',
  52. component: () => import('@/xt_pages/role/EditPerview'),
  53. name: 'setupPerview',
  54. meta: {
  55. title: 'setupPerview',
  56. noCache: true
  57. },
  58. hidden: true,
  59. is_menu: false
  60. },
  61. // {
  62. // path: '/role/admin/specialpermission',
  63. // component: () => import('@/xt_pages/role/special_permission'),
  64. // name: 'special_permission_manage',
  65. // meta: {
  66. // title: 'special_permission_manage'
  67. // }
  68. // },
  69. {
  70. path: '/data/dictionary',
  71. component: () => import('@/xt_pages/data/index'),
  72. name: 'dictionary',
  73. meta: {
  74. title: 'data_dictionary'
  75. }
  76. },
  77. {
  78. path: '/data/template',
  79. component: () => import('@/xt_pages/data/template'),
  80. name: 'template',
  81. meta: {
  82. title: 'template'
  83. }
  84. },{
  85. path: '/data/prescription',
  86. component: () => import('@/xt_pages/data/prescription'),
  87. name: 'prescription',
  88. meta: {
  89. title: 'system_prescription'
  90. }
  91. }, {
  92. path: '/data/druguse',
  93. component: () => import('@/xt_pages/data/druguseTemplate'),
  94. name: 'druguse',
  95. meta: {
  96. title: 'druguse'
  97. }
  98. }, {
  99. path: '/data/showconfig',
  100. component: () => import('@/xt_pages/data/showConfig'),
  101. name: 'showconfig',
  102. meta: {
  103. title: 'showconfig'
  104. }
  105. },{
  106. path: '/data/print',
  107. component: () => import('@/xt_pages/data/printTemplate'),
  108. name: 'printTemplate',
  109. meta: {
  110. title: 'printTemplate'
  111. }
  112. }, {
  113. path: '/data/hisconfig',
  114. component: () => import('@/xt_pages/data/hisConfig'),
  115. name: 'hisconfig',
  116. meta: {
  117. title: 'hisconfig'
  118. }
  119. },
  120. ]
  121. }