You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.3 KiB

5 years ago
  1. import Login from './views/Login.vue'
  2. import NotFound from './views/404.vue'
  3. import Home from './views/Home.vue'
  4. //文档中心
  5. import ArchiveMng from './views/mdp/arc/archive/ArchiveMng.vue'
  6. import ArchiveListFlow from './views/mdp/arc/archive/ArchiveListFlow.vue'
  7. import ArchiveAttachmentMng from './views/mdp/arc/archiveAttachment/ArchiveAttachmentMng.vue'
  8. import ArcCategoryMng from './views/mdp/arc/category/CategoryMng.vue'
  9. import UploadAdd from './views/mdp/arc/image/UploadAdd.vue'
  10. //内容分发
  11. import SendPlanMng from './views/mdp/arc/send/sendPlan/SendPlanMng.vue'
  12. //商城专题设置
  13. //商城end
  14. let routes = [
  15. {
  16. path: '/login',
  17. component: Login,
  18. name: '',
  19. hidden: true
  20. },
  21. {
  22. path: '/404',
  23. component: NotFound,
  24. name: '',
  25. hidden: true
  26. },
  27. {
  28. path: '/',
  29. component: Home,
  30. name: '',
  31. hidden: true
  32. },
  33. {
  34. path: '/oa',
  35. component: Home,
  36. name: '内容/文档中心',
  37. iconCls: 'fa el-icon-menu',
  38. //leaf: true,//只有一个节点
  39. children: [
  40. { path: '/arc/Index', component: ArchiveMng, name: '文档管理' },
  41. { path: '/mdp/arc/archive/ArchiveMng/query', component: ArchiveMng, name: '文档查阅' },
  42. { path: '/mdp/arc/archive/ArchiveListFlow', component: ArchiveListFlow, name: '流程归档查阅' },
  43. { path: '/mdp/arc/archiveAttachment/ArchiveAttachmentMng', component: ArchiveAttachmentMng, name: '附件管理' },
  44. { path: '/mdp/arc/category/CategoryMng', component: ArcCategoryMng, name: '分类管理' },
  45. { path: '/mdp/arc/image/UploadAdd',component:UploadAdd,name:'图片管理'}
  46. ]
  47. },
  48. {
  49. path: '/oa',
  50. component: Home,
  51. name: '内容分发',
  52. iconCls: 'fa el-icon-menu',
  53. //leaf: true,//只有一个节点
  54. children: [
  55. { path: '/mdp/arc/archive/ArchiveMng/1', component: ArchiveMng, name: '文档分发' },
  56. { path: '/mdp/arc/send/sendPlan/SendPlanMng', component: SendPlanMng, name: '分发计划管理' },
  57. { path: '/mdp/arc/send/sendPlan/SendPlanMng/1', component: SendPlanMng, name: '分发结果' },
  58. { path: '/mdp/arc/archive/ArchiveMng/2', component: ArchiveMng, name: '分发模板设置' }
  59. ]
  60. },
  61. ];
  62. export default routes;