index.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import Vue from 'vue'
  2. import VueRouter from 'vue-router'
  3. Vue.use(VueRouter)
  4. const routes = [
  5. //洗选中心领导信箱首页
  6. {
  7. path:'/xixuanzhongxin/leader-mailbox/leader-home',
  8. name:'leader-home',
  9. component:()=>import('../views/xixuanzhongxin/leader-mailbox/leader-home.vue'),
  10. },
  11. //洗选中心领导信箱提交
  12. {
  13. path:'/xixuanzhongxin/leader-mailbox/leader-mailbox',
  14. name:'leader-mailbox',
  15. component:()=>import('../views/xixuanzhongxin/leader-mailbox/leader-mailbox.vue'),
  16. },
  17. //洗选中心领导信箱提交成功
  18. {
  19. path:'/xixuanzhongxin/leader-mailbox/leader-success',
  20. name:'leader-success',
  21. component:()=>import('../views/xixuanzhongxin/leader-mailbox/leader-success.vue'),
  22. },
  23. //洗选中心领导信箱列表
  24. {
  25. path:'/xixuanzhongxin/leader-mailbox/leader-mailbox-list',
  26. name:'leader-mailbox-list',
  27. component:()=>import('../views/xixuanzhongxin/leader-mailbox/leader-mailbox-list.vue')
  28. },
  29. //洗选中心领导信箱列表2
  30. {
  31. path:'/xixuanzhongxin/leader-mailbox/leader-mailbox-list2',
  32. name:'leader-mailbox-list2',
  33. component:()=>import('../views/xixuanzhongxin/leader-mailbox/leader-mailbox-list2.vue')
  34. },
  35. //洗选中心领导信箱领导回复
  36. {
  37. path:'/xixuanzhongxin/leader-mailbox/leader-mailbox-reply',
  38. name:'leader-mailbox-reply',
  39. component:()=>import('../views/xixuanzhongxin/leader-mailbox/leader-mailbox-reply.vue')
  40. },
  41. //枣泉矿井水系统
  42. {
  43. path:'/zaoquan/kuangjingshui/kuangjingshui',
  44. name:'kuangjingshui',
  45. component:()=>import('../views/zaoquan/kuangjingshui/kuangjingshui.vue'),
  46. meta:{
  47. title:'矿井水处理'
  48. }
  49. },
  50. //宁东运营部拼图游戏
  51. {
  52. path:"/ningdongyunying/puzzle/puzzle",
  53. name:'puzzle',
  54. component:()=>import('../views/ningdongyunying/puzzle/puzzle.vue'),
  55. meta:{
  56. title:'拼图游戏'
  57. }
  58. },
  59. //宁东运营部拼图游戏详情
  60. {
  61. path:"/ningdongyunying/puzzle/puzzle-infos",
  62. name:'puzzle-infos',
  63. component:()=>import('../views/ningdongyunying/puzzle/puzzle-infos.vue'),
  64. meta:{
  65. title:'拼图游戏'
  66. }
  67. },
  68. //路由重定向
  69. {
  70. path:'/',
  71. redirect:{"name":"puzzle"}
  72. }
  73. ]
  74. const router = new VueRouter({
  75. routes
  76. })
  77. export default router