Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

index.js 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. /* Layout */
  4. import Layout from '@/views/layout/Layout'
  5. import data_dict from './modules/data_dict'
  6. import device from './modules/device'
  7. import dialysis from './modules/dialysis'
  8. import patient from './modules/patient'
  9. import qcd from './modules/qcd'
  10. import role from './modules/role'
  11. import stock from './modules/stock'
  12. import weight_sign from './modules/weight_sign'
  13. import workforce from './modules/workforce'
  14. import service from './modules/service'
  15. import org from './modules/org'
  16. import systems from './modules/systems'
  17. import data_upload from './modules/data_upload'
  18. import integration from './modules/integration'
  19. import medicalScheduling from './modules/medical_scheduling'
  20. import slow from './modules/slow'
  21. import scrm from './modules/scrm'
  22. import shop from './modules/shop'
  23. import selfPreparedMedicine from './modules/selfPreparedMedicine'
  24. import drugs from './modules/drugs'
  25. import outpatientRegistration from './modules/outpatientRegistration'
  26. import outpatientDoctorStation from './modules/outpatientDoctorStation'
  27. import outpatientCharges from './modules/outpatientCharges'
  28. import outpatientPharmacy from './modules/outpatientPharmacy'
  29. import kuyiShopping from './modules/kuyiShopping'
  30. import createPatient from './modules/createPatient'
  31. import dialysisRecord from './modules/dialysisRecord'
  32. import otherManagement from './modules/otherManagement'
  33. import roleManage from './modules/roleManage'
  34. import dataDictionary from './modules/dataDictionary'
  35. import specialDictionary from './modules/specialDictionary'
  36. import dataTemplate from './modules/dataTemplate'
  37. import dataPrescription from './modules/dataPrescription'
  38. import dataDruguse from './modules/dataDruguse'
  39. import dataShowconfig from './modules/dataShowconfig'
  40. import dataPrint from './modules/dataPrint'
  41. Vue.use(Router)
  42. /** note: submenu only apppear when children.length>=1
  43. * detail see https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
  44. **/
  45. /**
  46. * hidden: true if `hidden:true` will not show in the sidebar(default is false)
  47. * alwaysShow: true if set true, will always show the root menu, whatever its child routes length
  48. // 详见 xt_permission.xt_filterAsyncRouter 函数的逻辑
  49. is_menu: false 加载路由时验证用的(即该路由是否要在侧边栏展示,需要展示的即需要),为 false 时表示该路由不需要进行权限验证
  50. * if not set alwaysShow, only more than one route under the children
  51. * it will becomes nested mode, otherwise not show the root menu
  52. * redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
  53. * name:'router-name' the name is used by <keep-alive> (must set!!!)
  54. * meta : {
  55. title: 'title' the name show in submenu and breadcrumb (recommend set)
  56. icon: 'svg-name' the icon show in the sidebar,
  57. noCache: true if true ,the page will no be cached(default is false)
  58. // 详见 xt_permission.xt_filterAsyncRouter 函数的逻辑
  59. is_menu: false 加载路由时验证用的,为 false 时表示该路由不需要进行权限验证
  60. hidden: false 加载路由时验证用的,is_menu 为true时才有作用,为 true 时表示该路由需要进行权限验证
  61. }
  62. **/
  63. var _constant_router_map = [{
  64. path: '/token/verify',
  65. component: () => import('@/xt_pages/index/verify_token'),
  66. hidden: true
  67. },
  68. {
  69. path: '/404',
  70. component: () => import('@/views/errorPage/404'),
  71. hidden: true
  72. },
  73. {
  74. path: '/401',
  75. component: () => import('@/views/errorPage/401'),
  76. hidden: true
  77. },
  78. {
  79. path: '',
  80. component: Layout,
  81. redirect: '/home',
  82. children: [{
  83. path: '/home',
  84. component: () => import('@/xt_pages/home/index'),
  85. name: 'home',
  86. meta: {
  87. title: 'home',
  88. icon: 'dashboard',
  89. noCache: true
  90. }
  91. }]
  92. },
  93. service
  94. // patient,
  95. // workforce,
  96. // weight_sign,
  97. // dialysis,
  98. // stock,
  99. // qcd,
  100. // data_dict,
  101. // device,
  102. // role,
  103. // org
  104. ]
  105. var _asy_router_map = [
  106. patient,
  107. createPatient,
  108. workforce,
  109. medicalScheduling,
  110. weight_sign,
  111. dialysisRecord,
  112. dialysis,
  113. stock,
  114. selfPreparedMedicine,
  115. drugs,
  116. otherManagement,
  117. qcd,
  118. device,
  119. org,
  120. data_upload,
  121. slow,
  122. scrm,
  123. shop,
  124. integration,
  125. systems,
  126. roleManage,
  127. dataDictionary,
  128. specialDictionary,
  129. dataTemplate,
  130. dataPrescription,
  131. dataDruguse,
  132. dataShowconfig,
  133. dataPrint,
  134. outpatientRegistration,
  135. outpatientDoctorStation,
  136. outpatientCharges,
  137. outpatientPharmacy,
  138. kuyiShopping
  139. ]
  140. var is_asy_router = process.env.NODE_ENV === 'production' // true; 设置为 true 强制进行路由验证
  141. if (!is_asy_router) {
  142. _constant_router_map = _constant_router_map.concat(_asy_router_map)
  143. _asy_router_map = []
  144. } else {
  145. }
  146. export const xt_constantRouterMap = _constant_router_map
  147. export const xt_asyncRouterMap = _asy_router_map
  148. export default new Router({
  149. // mode: 'history', // require service support
  150. scrollBehavior: () => ({
  151. y: 0
  152. }),
  153. routes: xt_constantRouterMap
  154. })