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

index.js 5.8KB

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