front/src/router/routes/newModules/channel.ts
2025-12-03 19:26:02 +08:00

82 lines
2.0 KiB
TypeScript

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: 'sales-products',
name: 'SalesProducts',
component: () => import('@/views/channel/sales-products/index.vue'),
meta: {
locale: 'menu.channel.salesProducts',
requiresAuth: true,
},
},
{
path: 'service-channels',
name: 'ServiceChannels',
component: () => import('@/views/channel/service-channels/index.vue'),
meta: {
locale: 'menu.channel.serviceChannels',
requiresAuth: true,
},
},
{
path: 'blacklist',
name: 'Blacklist',
component: () => import('@/views/channel/blacklist/index.vue'),
meta: {
locale: 'menu.channel.blacklist',
requiresAuth: true,
},
},
{
path: 'remote-zones',
name: 'RemoteZones',
component: () => import('@/views/channel/remote-zones/index.vue'),
meta: {
locale: 'menu.channel.remoteZones',
requiresAuth: true,
},
},
{
path: 'weight-rules',
name: 'WeightRules',
component: () => import('@/views/channel/weight-rules/index.vue'),
meta: {
locale: 'menu.channel.weightRules',
requiresAuth: true,
},
},
{
path: 'weight-rounding',
name: 'WeightRounding',
component: () => import('@/views/channel/weight-rounding/index.vue'),
meta: {
locale: 'menu.channel.weightRounding',
requiresAuth: true,
},
},
{
path: 'auto-trigger',
name: 'AutoTrigger',
component: () => import('@/views/channel/auto-trigger/index.vue'),
meta: {
locale: 'menu.channel.autoTrigger',
requiresAuth: true,
},
},
],
};
export default CHANNEL;