import { DEFAULT_LAYOUT } from '../base'; import { AppRouteRecordRaw } from '../types'; const CHANNEL: AppRouteRecordRaw = { path: '/channel', name: 'Channel', component: DEFAULT_LAYOUT, meta: { locale: 'menu.channel', icon: 'icon-link', requiresAuth: true, order: 4, }, children: [ { path: 'guide', name: 'ChannelGuide', component: () => import('@/views/channel/channelGuide/index.vue'), meta: { locale: 'menu.channel.channelGuide', requiresAuth: true, order: 0, icon: 'icon-book', }, }, { path: 'salesProducts', name: 'SalesProducts', component: () => import('@/views/channel/salesProducts/index.vue'), meta: { locale: 'menu.channel.salesProducts', requiresAuth: true, menuPermission: 'Channel.SalesProducts', }, }, { path: 'serviceChannels', name: 'ServiceChannels', component: () => import('@/views/channel/serviceChannels/index.vue'), meta: { locale: 'menu.channel.serviceChannels', requiresAuth: true, menuPermission: 'Channel.ServiceChannels', }, }, { path: 'pricingWorkbench', name: 'PricingWorkbench', component: () => import('@/views/channel/pricingWorkbench/index.vue'), meta: { locale: 'menu.channel.pricingWorkbench', requiresAuth: true, menuPermission: 'Channel.PricingWorkbench', }, }, { path: 'priceArea', name: 'PriceArea', component: () => import('@/views/channel/priceArea/index.vue'), meta: { locale: 'menu.channel.priceArea', requiresAuth: true, menuPermission: 'Channel.PriceArea', }, }, { path: 'blacklist', name: 'Blacklist', component: () => import('@/views/channel/blacklist/index.vue'), meta: { locale: 'menu.channel.blacklist', requiresAuth: true, menuPermission: 'Channel.Blacklist', }, }, { path: 'remoteZones', name: 'RemoteZones', component: () => import('@/views/channel/remoteZones/index.vue'), meta: { locale: 'menu.channel.remoteZones', requiresAuth: true, menuPermission: 'Channel.RemoteZones', }, }, { path: 'weightRules', name: 'WeightRules', component: () => import('@/views/channel/weightRules/index.vue'), meta: { locale: 'menu.channel.weightRules', requiresAuth: true, menuPermission: 'Channel.WeightRules', }, }, { path: 'weightRounding', name: 'WeightRounding', component: () => import('@/views/channel/weightRounding/index.vue'), meta: { locale: 'menu.channel.weightRounding', requiresAuth: true, menuPermission: 'Channel.WeightRounding', }, }, { path: 'autoTrigger', name: 'AutoTrigger', component: () => import('@/views/channel/autoTrigger/index.vue'), meta: { locale: 'menu.channel.autoTrigger', requiresAuth: true, menuPermission: 'Channel.AutoTrigger', }, }, { path: 'issueTemplate', name: 'IssueTemplate', component: () => import('@/views/channel/issueTemplate/index.vue'), meta: { locale: 'menu.channel.issueTemplate', requiresAuth: true, menuPermission: 'Channel.IssueTemplate', }, }, { path: 'labelDesign', name: 'LabelDesign', component: () => import('@/views/channel/labelDesign/index.vue'), meta: { locale: 'menu.channel.labelDesign', requiresAuth: true, menuPermission: 'Channel.LabelDesign', }, }, ], }; export default CHANNEL;