article.js 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. import Layout from '@/views/layout/Layout'
  2. export default {
  3. alwaysShow: true,
  4. path: '/articles',
  5. component: Layout,
  6. redirect: 'noredirect',
  7. name: 'article',
  8. meta: {
  9. title: 'article',
  10. icon: 'excel'
  11. },
  12. children: [
  13. {
  14. path: '/articles/createArticle',
  15. component: () => import('@/scrm_pages/article/createArticle'),
  16. name: 'createArticle',
  17. meta: { title: 'createArticle', noCache: true }
  18. },
  19. {
  20. path: '/articles/articleList',
  21. component: () => import('@/scrm_pages/article/articleList'),
  22. name: 'articleList',
  23. meta: { title: 'articleList', noCache: true }
  24. },
  25. {
  26. path: '/articles/articleCategory',
  27. component: () => import('@/scrm_pages/article/acticleCategory'),
  28. name: 'articleCategory',
  29. meta: { title: 'articleCategory', noCache: true }
  30. },
  31. {
  32. path: '/articles/commentList',
  33. component: () => import('@/scrm_pages/article/commentList'),
  34. name: 'commentList',
  35. meta: { title: 'commentList', noCache: true }
  36. },
  37. {
  38. path: '/articles/articleComment',
  39. component: () => import('@/scrm_pages/article/articleComment'),
  40. name: 'articleComment',
  41. meta: { title: 'articleComment', noCache: true }
  42. },
  43. {
  44. path: '/articles/articlePreview',
  45. component: () => import('@/scrm_pages/article/articlePreview'),
  46. name: 'articlePreview',
  47. hidden:true,
  48. meta: { title: 'articlePreview', noCache: true }
  49. },
  50. {
  51. path: '/articles/editArticle/:id',
  52. component: () => import('@/scrm_pages/article/editArticle'),
  53. name: 'editArticle',
  54. hidden:true,
  55. meta: { title: 'editArticle', noCache: true }
  56. },
  57. {
  58. path: '/articles/articleEditPreview',
  59. component: () => import('@/scrm_pages/article/articleEditPreview'),
  60. name: 'articleEditPreview',
  61. hidden:true,
  62. meta: { title: 'articleEditPreview', noCache: true }
  63. },
  64. {
  65. path: '/articles/articleCommentDetail/:id',
  66. component: () => import('@/scrm_pages/article/articleCommentDetail'),
  67. name: 'articleCommentDetail',
  68. hidden:true,
  69. meta: { title: 'articleCommentDetail', noCache: true }
  70. },
  71. ]
  72. }