All checks were successful
Build and Deploy Front / deploy (push) Successful in 4m6s
用户可见文案与运单/工号示例改为 BCD;登录/注册支持换公众号昵称+手机号迁移 OpenID;定价工作台页面随路由一并合入。 Co-authored-by: Cursor <cursoragent@cursor.com>
140 lines
3.7 KiB
TypeScript
140 lines
3.7 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: '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;
|