index.js 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. import PatClockBleed from '@/components/PatClockBleed'
  23. import PatClockInBleedSuc from '@/components/PatClockInBleedSuc'
  24. import PatBleedList from '@/components/PatBleedList'
  25. import PatBleedCount from '@/components/PatBleedCount'
  26. import PatGjBleedCount from '@/components/PatGjBleedCount'
  27. import Notice from '@/components/Notice'
  28. Vue.use(Router)
  29. export default new Router({
  30. routes: [
  31. {
  32. path: '/',
  33. name: '首页',
  34. component: Index
  35. },
  36. {
  37. path: '/docLogin',
  38. name: '医生登录',
  39. component: DocLogin
  40. },
  41. {
  42. path: '/agreedoc',
  43. name: '用户隐私条款',
  44. component: UserAgree
  45. },
  46. {
  47. path: '/docindex',
  48. name: '医生首页',
  49. component: DocIndex
  50. },
  51. {
  52. path: '/notice',
  53. name: '消息列表',
  54. component: Notice
  55. },
  56. {
  57. path: '/regpatinfo',
  58. name: '录入患者信息',
  59. component: RegPatinfo
  60. },
  61. {
  62. path: '/regpatpro',
  63. name: '录入患者使用产品',
  64. component: RegPatpro
  65. },
  66. {
  67. path: '/diagcalc',
  68. name: '动力学检测',
  69. component: DiagCalc
  70. },
  71. {
  72. path: '/diagcalcshow',
  73. name: '动力学检测展示',
  74. component: DiagCalcShow
  75. },
  76. {
  77. path: '/showandsavecase',
  78. name: '动力学检测展示',
  79. component: ShowAndSaveCase
  80. },
  81. {
  82. path: '/solutionpkline',
  83. name: '预防治疗方案pk曲线',
  84. component: SolutionPkLine
  85. },
  86. {
  87. path: '/patindex',
  88. name: '患者首页',
  89. component: PatIndex
  90. },
  91. {
  92. path: '/patclockin',
  93. name: '患者注射打卡',
  94. component: PatClockIn
  95. },
  96. {
  97. path: '/patclockinsuc',
  98. name: '患者注射打卡成功',
  99. component: PatClockInSuc
  100. },
  101. {
  102. path: '/patclockbleed',
  103. name: '患者出血打卡',
  104. component: PatClockBleed
  105. },
  106. {
  107. path: '/patclockbleedsuc',
  108. name: '患者出血打卡成功',
  109. component: PatClockInBleedSuc
  110. },
  111. {
  112. path: '/patbleedlist',
  113. name: '出血记录',
  114. component: PatBleedList
  115. },
  116. {
  117. path: '/patbleedcount',
  118. name: '出血次数统计',
  119. component: PatBleedCount
  120. },
  121. {
  122. path: '/patgjbleedcount',
  123. name: '关节出血次数统计',
  124. component: PatGjBleedCount
  125. },
  126. {
  127. path: '/patcaselist',
  128. name: '病例管理',
  129. component: PatCaseList
  130. },
  131. {
  132. path: '/procaselist',
  133. name: '方案列表',
  134. component: ProCaseList
  135. },
  136. {
  137. path: '/patinjectionlist',
  138. name: '注射记录',
  139. component: PatInjectionList
  140. },
  141. {
  142. path: '/patregister',
  143. name: '用户注册',
  144. component: PatRegister
  145. },
  146. {
  147. path: '/patcxsjline',
  148. name: '病人采血时间曲线',
  149. component: PatCxsjLine
  150. },
  151. {
  152. path: '/pretraitcase',
  153. name: '预防治疗参考方案',
  154. component: PreTraitCase
  155. },
  156. // {
  157. // path: '/map',
  158. // name: '世界地图',
  159. // component: WorldMapNew
  160. // },
  161. ]
  162. })