diff --git a/web-next/src/router/routes.ts b/web-next/src/router/routes.ts index 9dddcfb1..15d44e24 100644 --- a/web-next/src/router/routes.ts +++ b/web-next/src/router/routes.ts @@ -61,7 +61,7 @@ export const asyncRoutes: RouteRecordRaw[] = [ { path: 'record/repush', name: 'record-repush', component: () => import('@/views/coming/ComingSoon.vue'), meta: { title: '回执工具', icon: 'i-refresh', menu: true, group: '记录中心', roles: ['admin', 'ops', 'service'] } }, { path: 'record/history', name: 'record-history', component: () => import('@/views/coming/ComingSoon.vue'), meta: { title: '历史记录', menu: false, group: '记录中心', roles: ['admin', 'ops', 'service', 'group', 'customer'] } }, - { path: 'channel', name: 'channel', component: () => import('@/views/coming/ComingSoon.vue'), meta: { title: '通道配置', icon: 'i-layer', menu: true, group: '通道与策略', roles: ['admin', 'ops'] } }, + { path: 'channel', name: 'channel', component: () => import('@/views/channel/ChannelList.vue'), meta: { title: '通道配置', icon: 'i-layer', menu: true, group: '通道与策略', roles: ['admin', 'ops'] } }, { path: 'channel/upstream', name: 'channel-upstream', component: () => import('@/views/coming/ComingSoon.vue'), meta: { title: '上家管理', icon: 'i-srv', menu: true, group: '通道与策略', roles: ['admin', 'ops'] } }, { path: 'channel/edit/:id?', name: 'channel-edit', component: () => import('@/views/channel/ChannelEdit.vue'), meta: { title: '通道编辑', group: '通道与策略', roles: ['admin', 'ops'] } }, { path: 'channel/group', name: 'channel-group', component: () => import('@/views/coming/ComingSoon.vue'), meta: { title: '通道组路由', icon: 'i-route', menu: true, group: '通道与策略', roles: ['admin', 'ops'] } }, diff --git a/web-next/src/views/channel/ChannelList.vue b/web-next/src/views/channel/ChannelList.vue new file mode 100644 index 00000000..d71f54f5 --- /dev/null +++ b/web-next/src/views/channel/ChannelList.vue @@ -0,0 +1,260 @@ + + + +