82 lines
1.9 KiB
TypeScript
82 lines
1.9 KiB
TypeScript
import { DEFAULT_LAYOUT } from '../base';
|
|
import { AppRouteRecordRaw } from '../types';
|
|
|
|
const CHANNEL: AppRouteRecordRaw = {
|
|
path: '/channel',
|
|
name: 'Channel',
|
|
component: DEFAULT_LAYOUT,
|
|
meta: {
|
|
locale: '渠道',
|
|
icon: 'icon-link',
|
|
requiresAuth: true,
|
|
order: 4,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'sales-products',
|
|
name: 'SalesProducts',
|
|
component: () => import('@/views/channel/sales-products/index.vue'),
|
|
meta: {
|
|
locale: '销售产品',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'service-channels',
|
|
name: 'ServiceChannels',
|
|
component: () => import('@/views/channel/service-channels/index.vue'),
|
|
meta: {
|
|
locale: '服务渠道',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'blacklist',
|
|
name: 'Blacklist',
|
|
component: () => import('@/views/channel/blacklist/index.vue'),
|
|
meta: {
|
|
locale: '黑名单区',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'remote-zones',
|
|
name: 'RemoteZones',
|
|
component: () => import('@/views/channel/remote-zones/index.vue'),
|
|
meta: {
|
|
locale: '偏远分区',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'weight-rules',
|
|
name: 'WeightRules',
|
|
component: () => import('@/views/channel/weight-rules/index.vue'),
|
|
meta: {
|
|
locale: '计重规则',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'weight-rounding',
|
|
name: 'WeightRounding',
|
|
component: () => import('@/views/channel/weight-rounding/index.vue'),
|
|
meta: {
|
|
locale: '计重进位',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'auto-trigger',
|
|
name: 'AutoTrigger',
|
|
component: () => import('@/views/channel/auto-trigger/index.vue'),
|
|
meta: {
|
|
locale: '自动触发',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default CHANNEL;
|