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

index.js 6.4KB

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