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

index.js 7.2KB

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