routes.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. const routes = [
  2. {
  3. path: "/pages/login/login",
  4. name: 'login',
  5. meta: {
  6. title: '登录',
  7. },
  8. },
  9. {
  10. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  11. path: '/pages/index/index',
  12. name: 'index',
  13. meta: {
  14. title: '主页',
  15. },
  16. },
  17. {
  18. //注意:path必须跟pages.json中的地址对应,最前面别忘了加'/'哦
  19. path: '/pages/home/home',
  20. //aliasPath:'/', //对于h5端你必须在首页加上aliasPath并设置为/
  21. name: 'home',
  22. meta: {
  23. title: '首页',
  24. },
  25. },
  26. {
  27. path: '/pages/user/people',
  28. name: 'people',
  29. meta: {
  30. title: '个人中心',
  31. },
  32. },
  33. {
  34. path: '/pages/user/userdetail',
  35. name: 'userdetail',
  36. meta: {
  37. title: '个人详情',
  38. },
  39. },
  40. {
  41. path: '/pages/user/useredit',
  42. name: 'useredit',
  43. meta: {
  44. title: '个人编辑',
  45. },
  46. },
  47. {
  48. path: '/pages/component/form',
  49. name: 'form',
  50. meta: {
  51. title: '个人编辑',
  52. },
  53. },
  54. {
  55. path: '/pages/user/userexit',
  56. name: 'userexit',
  57. meta: {
  58. title: '退出',
  59. },
  60. },
  61. {
  62. path: '/pages/user/userdt',
  63. name: 'userdt',
  64. meta: {
  65. title: '地图',
  66. },
  67. },
  68. {
  69. path: '/pages/common/exit',
  70. name: 'exit',
  71. meta: {
  72. title: '退出',
  73. },
  74. },
  75. {
  76. path: '/pages/common/success',
  77. name: 'success',
  78. meta: {
  79. title: 'success',
  80. },
  81. },
  82. {
  83. path: '/pages/sign/usersign',
  84. name: 'usersign',
  85. meta: {
  86. title: '考勤',
  87. },
  88. },
  89. {
  90. path: '/pages/sign/leave',
  91. name: 'leave',
  92. meta: {
  93. title: '请假申请',
  94. },
  95. },
  96. {
  97. path: '/pages/sign/leaves',
  98. name: 'leaves',
  99. meta: {
  100. title: '请假申请',
  101. },
  102. },
  103. {
  104. path: '/pages/wages/wages',
  105. name: 'wages',
  106. meta: {
  107. title: '薪资单',
  108. },
  109. },
  110. {
  111. path: '/pages/wages/wagesdetail',
  112. name: 'wagesdetail',
  113. meta: {
  114. title: '个人薪资界面',
  115. },
  116. },
  117. {
  118. path: '/pages/wages/wagesdetail2',
  119. name: 'wagesdetail2',
  120. meta: {
  121. title: '人事部门的薪资跳转页面',
  122. },
  123. },
  124. {
  125. path: '/pages/wages/wagesdetails2',
  126. name: 'wagesdetails2',
  127. meta: {
  128. title: '人事部门的薪资详情跳转页面',
  129. },
  130. },
  131. {
  132. path: '/pages/wages/wagesuser',
  133. name: 'wagesuser',
  134. meta: {
  135. title: '人事部门进入工资界面',
  136. },
  137. },
  138. {
  139. path: '/pages/wages/wagesdetails',
  140. name: 'wagesdetails',
  141. meta: {
  142. title: '薪资单详情',
  143. },
  144. },
  145. {
  146. path: '/pages/team/teams',
  147. name: 'teams',
  148. meta: {
  149. title: '团队',
  150. },
  151. },
  152. {
  153. path: '/pages/team/teames',
  154. name: 'teames',
  155. meta: {
  156. title: '团队',
  157. },
  158. },
  159. {
  160. path: '/pages/team/teamusersign',
  161. name: 'teamusersign',
  162. meta: {
  163. title: '团队',
  164. },
  165. },
  166. {
  167. path: '/pages/team/teamusersign2',
  168. name: 'teamusersign2',
  169. meta: {
  170. title: '团队',
  171. },
  172. },
  173. {
  174. path: '/pages/team/usercore',
  175. name: 'personaldetail',
  176. meta: {
  177. title: '团队',
  178. },
  179. },
  180. {
  181. path: '/pages/team/personaldetail',
  182. name: 'peruser',
  183. meta: {
  184. title: '团队',
  185. },
  186. },
  187. {
  188. path: '/pages/user/userpwd',
  189. name: 'userpwd',
  190. meta: {
  191. title: '修改密码',
  192. },
  193. },
  194. {
  195. path: '/pages/user/suecss',
  196. name: 'suecss',
  197. meta: {
  198. title: '修改密码',
  199. },
  200. },
  201. {
  202. path: '/pages/organization/leaveorgz',
  203. name: 'leaveorgz',
  204. meta: {
  205. title: '考勤组织',
  206. },
  207. },
  208. {
  209. path: '/pages/organization/orgz',
  210. name: 'orgz',
  211. meta: {
  212. title: '考勤组织',
  213. },
  214. },
  215. {
  216. path: '/pages/organization/wagsorgz',
  217. name: 'wagsorgz',
  218. meta: {
  219. title: '薪资组织',
  220. },
  221. },
  222. {
  223. path: '/pages/sign/userwork',
  224. name: 'userwork',
  225. meta: {
  226. title: '薪资组织',
  227. },
  228. },
  229. {
  230. path: '/pages/organization/workorgz',
  231. name: 'workorgz',
  232. meta: {
  233. title: '排班组织',
  234. },
  235. },
  236. {
  237. path: '/pages/team/teamuser',
  238. name: 'teamuser',
  239. meta: {
  240. title: '组织',
  241. },
  242. },
  243. {
  244. path: '/pages/team/teamuser2',
  245. name: 'teamuser2',
  246. meta: {
  247. title: '组织',
  248. },
  249. },
  250. {
  251. path: '/pages/sign/empsign',
  252. name: 'empsign',
  253. meta: {
  254. title: '组织',
  255. },
  256. },
  257. {
  258. path: '/pages/sign/leaveemp',
  259. name: 'leaveemp',
  260. meta: {
  261. title: '组织',
  262. },
  263. },
  264. {
  265. path: '/pages/sign/empusersign',
  266. name: 'empusersign',
  267. meta: {
  268. title: '组织',
  269. },
  270. },
  271. {
  272. path: '/components/my-componets/my-image-upload',
  273. name: 'upload',
  274. meta: {
  275. title: '组织',
  276. },
  277. },
  278. {
  279. path: '/pages/wages/dome',
  280. name: 'dome',
  281. meta: {
  282. title: '组织',
  283. },
  284. }
  285. ]
  286. export default routes