fangcom.callcenter.router.config.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. export default [
  2. {
  3. path: '/callcenter',
  4. name: '呼叫管理',
  5. icon: 'dashboard',
  6. authority: ['Pages.OutboundCallTask'],
  7. routes: [
  8. {
  9. path: '/callcenter/stats',
  10. name: '外呼情况',
  11. component: './FangCom/CallCenter/Stats',
  12. authority: ['Pages.OutboundCallTask']
  13. },
  14. {
  15. path: '/callcenter/information',
  16. name: '外呼管理',
  17. component: './FangCom/CallCenter/TaskList',
  18. authority: ['Pages.OutboundCallTask']
  19. },
  20. {
  21. path: '/callcenter/batch/details',
  22. name: '外呼任务',
  23. routes: [
  24. {
  25. path: '/callcenter/batch/details',
  26. params: {
  27. isMe: true
  28. },
  29. // authority: ['Pages.OutboundCallTask'],
  30. component: './FangCom/CallCenter/TaskGroupMemberList'
  31. },
  32. {
  33. path: '/callcenter/batch/details/:informationId/:batchId/:assignmentId/:assigneeId',
  34. name: '外呼详情页',
  35. component: './FangCom/CallCenter/CallCenterPersonnelDetails',
  36. // authority: ['Pages.OutboundCallTask'],
  37. hideInMenu: true
  38. }
  39. ]
  40. },
  41. {
  42. path: '/callcenter/blacklist',
  43. name: '黑名单管理',
  44. component: './FangCom/Blacklist/list',
  45. authority: ['Pages.CallCenterBlackList']
  46. },
  47. {
  48. path: '/callcenter/passlist',
  49. name: '免打扰管理',
  50. component: './FangCom/Passlist/list',
  51. authority: ['Pages.CallCenterPassList']
  52. },
  53. {
  54. path: '/callcenter/information/batch/:id',
  55. name: '外呼批次管理',
  56. component: './FangCom/CallCenter/TaskGroupList',
  57. authority: ['Pages.OutboundCallTask'],
  58. hideInMenu: true
  59. },
  60. {
  61. path: '/callcenter/information/personnel/list/:informationId/:batchId',
  62. name: '外呼详情管理',
  63. component: './FangCom/CallCenter/TaskGroupMemberList',
  64. params: {
  65. isMe: false
  66. },
  67. authority: ['Pages.OutboundCallTask'],
  68. hideInMenu: true
  69. },
  70. {
  71. path:
  72. '/callcenter/information/personnel/details/:informationId/:batchId/:assignmentId/:assigneeId',
  73. name: '外呼详情页',
  74. component: './FangCom/CallCenter/CallCenterPersonnelDetails',
  75. authority: ['Pages.OutboundCallTask'],
  76. hideInMenu: true
  77. },
  78. {
  79. path: '/callcenter/information/details',
  80. name: '外呼批次管理',
  81. authority: ['Pages.OutboundCallTask'],
  82. isExact: true,
  83. routes: [
  84. {
  85. path: '/callcenter/information/details/:informationId',
  86. params: {
  87. isMe: false
  88. },
  89. component: './FangCom/CallCenter/CallMemberList',
  90. hideInMenu: true
  91. },
  92. {
  93. path: '/callcenter/information/details/:informationId/:batchId',
  94. params: {
  95. isMe: false
  96. },
  97. component: './FangCom/CallCenter/CallMemberList',
  98. hideInMenu: true
  99. }
  100. ],
  101. hideInMenu: true
  102. }
  103. ]
  104. }
  105. ]