index.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import Index from '@/components/Index'
  4. import DocLogin from '@/components/DocLogin'
  5. import UserAgree from '@/components/UserAgree'
  6. import DocIndex from '@/components/DocIndex'
  7. import RegPatinfo from '@/components/RegPatinfo'
  8. import RegPatpro from '@/components/RegPatpro'
  9. import DiagCalc from '@/components/DiagCalc'
  10. import DiagCalcShow from '@/components/DiagCalcShow'
  11. import SolutionPkLine from '@/components/SolutionPkLine'
  12. import PatIndex from '@/components/PatIndex'
  13. import PatClockIn from '@/components/PatClockIn'
  14. import PatClockInSuc from '@/components/PatClockInSuc'
  15. import PatCaseList from '@/components/PatCaseList'
  16. import ProCaseList from '@/components/ProCaseList'
  17. import PatInjectionList from '@/components/PatInjectionList'
  18. import PatRegister from '@/components/PatRegister'
  19. import PatCxsjLine from '@/components/PatCxsjLine'
  20. import PreTraitCase from '@/components/PreTraitCase'
  21. import ShowAndSaveCase from '@/components/ShowAndSaveCase'
  22. Vue.use(Router)
  23. export default new Router({
  24. routes: [
  25. {
  26. path: '/',
  27. name: '首页',
  28. component: Index
  29. },
  30. {
  31. path: '/docLogin',
  32. name: '医生登录',
  33. component: DocLogin
  34. },
  35. {
  36. path: '/agreedoc',
  37. name: '用户隐私条款',
  38. component: UserAgree
  39. },
  40. {
  41. path: '/docindex',
  42. name: '医生首页',
  43. component: DocIndex
  44. },
  45. {
  46. path: '/regpatinfo',
  47. name: '录入患者信息',
  48. component: RegPatinfo
  49. },
  50. {
  51. path: '/regpatpro',
  52. name: '录入患者使用产品',
  53. component: RegPatpro
  54. },
  55. {
  56. path: '/diagcalc',
  57. name: '动力学检测',
  58. component: DiagCalc
  59. },
  60. {
  61. path: '/diagcalcshow',
  62. name: '动力学检测展示',
  63. component: DiagCalcShow
  64. },
  65. {
  66. path: '/showandsavecase',
  67. name: '动力学检测展示',
  68. component: ShowAndSaveCase
  69. },
  70. {
  71. path: '/solutionpkline',
  72. name: '预防治疗方案pk曲线',
  73. component: SolutionPkLine
  74. },
  75. {
  76. path: '/patindex',
  77. name: '患者首页',
  78. component: PatIndex
  79. },
  80. {
  81. path: '/patclockin',
  82. name: '患者注射打卡',
  83. component: PatClockIn
  84. },
  85. {
  86. path: '/patclockinsuc',
  87. name: '患者注射打卡成功',
  88. component: PatClockInSuc
  89. },
  90. {
  91. path: '/patcaselist',
  92. name: '病例管理',
  93. component: PatCaseList
  94. },
  95. {
  96. path: '/procaselist',
  97. name: '方案列表',
  98. component: ProCaseList
  99. },
  100. {
  101. path: '/patinjectionlist',
  102. name: '注射记录',
  103. component: PatInjectionList
  104. },
  105. {
  106. path: '/patregister',
  107. name: '用户注册',
  108. component: PatRegister
  109. },
  110. {
  111. path: '/patcxsjline',
  112. name: '病人采血时间曲线',
  113. component: PatCxsjLine
  114. },
  115. {
  116. path: '/pretraitcase',
  117. name: '预防治疗参考方案',
  118. component: PreTraitCase
  119. },
  120. // {
  121. // path: '/map',
  122. // name: '世界地图',
  123. // component: WorldMapNew
  124. // },
  125. ]
  126. })