routes.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. const routes = [{
  2. path: "/pages/login/login",
  3. name: 'login',
  4. meta: {
  5. title: '登录',
  6. },
  7. },
  8. {
  9. path: "/pages/jiance/order",
  10. name: 'order',
  11. meta: {
  12. title: '检测委托申请',
  13. },
  14. },
  15. {
  16. path: "/pages/user/editpassword",
  17. name: 'editpassword',
  18. meta: {
  19. title: '修改密码',
  20. },
  21. },
  22. {
  23. path: "/pages/jiance/editOrder",
  24. name: 'editOrder',
  25. meta: {
  26. title: '检测委托修改',
  27. },
  28. },
  29. {
  30. path: "/pages/jiance/tousu",
  31. name: 'tousu',
  32. meta: {
  33. title: '投诉',
  34. },
  35. },
  36. {
  37. path: "/pages/fileView/fileView",
  38. name: 'fileView',
  39. meta: {
  40. title: '文件查阅',
  41. },
  42. },
  43. {
  44. path: "/pages/jiance/jindu",
  45. name: 'jindu',
  46. meta: {
  47. title: '委托单进度',
  48. },
  49. },
  50. {
  51. path: "/pages/jiance/list",
  52. name: 'list',
  53. meta: {
  54. title: '委托列表',
  55. },
  56. },
  57. {
  58. path: "/pages/jiance/manyi",
  59. name: 'manyi',
  60. meta: {
  61. title: '满意度调查',
  62. },
  63. },
  64. {
  65. path: "/pages/login/zhuce",
  66. name: 'zhuce',
  67. meta: {
  68. title: '注册',
  69. },
  70. },
  71. {
  72. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  73. path: '/pages/index/index',
  74. name: 'index',
  75. meta: {
  76. title: '主页',
  77. },
  78. },
  79. {
  80. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  81. path: '/pages/home/home',
  82. //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
  83. name: 'home',
  84. meta: {
  85. title: '首页',
  86. },
  87. },
  88. {
  89. path: '/pages/user/people',
  90. name: 'people',
  91. meta: {
  92. title: '个人中心',
  93. },
  94. },
  95. {
  96. path: '/pages/user/userdetail',
  97. name: 'userdetail',
  98. meta: {
  99. title: '个人详情',
  100. },
  101. },
  102. {
  103. path: '/pages/user/useredit',
  104. name: 'useredit',
  105. meta: {
  106. title: '个人编辑',
  107. },
  108. },
  109. {
  110. path: '/pages/user/userexit',
  111. name: 'userexit',
  112. meta: {
  113. title: '退出',
  114. },
  115. },
  116. {
  117. path: '/pages/user/location',
  118. name: 'location',
  119. meta: {
  120. title: '定位',
  121. },
  122. },
  123. {
  124. path: '/pages/common/exit',
  125. name: 'exit',
  126. meta: {
  127. title: '退出',
  128. },
  129. },
  130. {
  131. path: '/pages/common/success',
  132. name: 'success',
  133. meta: {
  134. title: 'success',
  135. },
  136. }, {
  137. path: '/pages/addressbook/address-book',
  138. name: 'addressBook',
  139. meta: {
  140. title: 'addressBook',
  141. },
  142. },
  143. {
  144. path: '/pages/addressbook/level-address-book',
  145. name: 'levelAddressBook',
  146. meta: {
  147. title: 'levelAddressBook',
  148. },
  149. },
  150. {
  151. path: '/pages/addressbook/member',
  152. name: 'member',
  153. meta: {
  154. title: 'member',
  155. },
  156. },
  157. {
  158. path: '/pages/addressbook/address-detail',
  159. name: 'addressDetail',
  160. meta: {
  161. title: 'addressDetail',
  162. },
  163. },
  164. {
  165. path: '/pages/annotation/annotationList',
  166. name: 'annotationList',
  167. meta: {
  168. title: '通知公告',
  169. },
  170. },
  171. {
  172. path: '/pages/annotation/annotationDetail',
  173. name: 'annotationDetail',
  174. meta: {
  175. title: '通知详情',
  176. },
  177. },
  178. {
  179. path: '/pages/fileView/reportList',
  180. name: 'reportList',
  181. meta: {
  182. title: '报告列表',
  183. },
  184. },
  185. {
  186. path: '/pages/specimen/specimen',
  187. name: 'specimenList',
  188. meta: {
  189. title: '我的样品',
  190. },
  191. },
  192. {
  193. path: "/pages/jiance/list/specimen",
  194. name: 'specimen',
  195. meta: {
  196. title: '样品',
  197. },
  198. },
  199. {
  200. path: "/pages/tag/sampleTag",
  201. name: 'sampleTag',
  202. meta: {
  203. title: '样品标签',
  204. },
  205. },
  206. {
  207. path: "/pages/hold/hold",
  208. name: 'hold',
  209. meta: {
  210. title: '委托暂存',
  211. },
  212. },
  213. {
  214. path: "/pages/communication/communication",
  215. name: 'communication',
  216. meta: {
  217. title: '沟通',
  218. },
  219. }
  220. ]
  221. export default routes