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

index.js 7.1KB

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