新增页面按钮目录与菜单同步三级按钮;增强我的订单(问题件/理赔件、费用、详情抽屉)、Nana 助手、联系客服、渠道问题模板及登录/RBAC 等相关功能。 Co-authored-by: Cursor <cursoragent@cursor.com>
109 lines
2.6 KiB
TypeScript
109 lines
2.6 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: 'salesProducts',
|
|
name: 'SalesProducts',
|
|
component: () => import('@/views/channel/salesProducts/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.salesProducts',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'serviceChannels',
|
|
name: 'ServiceChannels',
|
|
component: () => import('@/views/channel/serviceChannels/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.serviceChannels',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'priceArea',
|
|
name: 'PriceArea',
|
|
component: () => import('@/views/channel/priceArea/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.priceArea',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'blacklist',
|
|
name: 'Blacklist',
|
|
component: () => import('@/views/channel/blacklist/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.blacklist',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'remoteZones',
|
|
name: 'RemoteZones',
|
|
component: () => import('@/views/channel/remoteZones/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.remoteZones',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'weightRules',
|
|
name: 'WeightRules',
|
|
component: () => import('@/views/channel/weightRules/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.weightRules',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'weightRounding',
|
|
name: 'WeightRounding',
|
|
component: () => import('@/views/channel/weightRounding/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.weightRounding',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'autoTrigger',
|
|
name: 'AutoTrigger',
|
|
component: () => import('@/views/channel/autoTrigger/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.autoTrigger',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'issueTemplate',
|
|
name: 'IssueTemplate',
|
|
component: () => import('@/views/channel/issueTemplate/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.issueTemplate',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'labelDesign',
|
|
name: 'LabelDesign',
|
|
component: () => import('@/views/channel/labelDesign/index.vue'),
|
|
meta: {
|
|
locale: 'menu.channel.labelDesign',
|
|
requiresAuth: true,
|
|
},
|
|
},
|
|
],
|
|
};
|
|
|
|
export default CHANNEL;
|