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

index.js 7.0KB

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