完成中转仓管理
This commit is contained in:
@@ -263,6 +263,80 @@ export const constantRoutes: Array<RouteRecordRaw> = [
|
||||
],
|
||||
|
||||
},
|
||||
// 销售概览路由
|
||||
{
|
||||
path: '/salesOverview',
|
||||
component: LayoutIndex,
|
||||
meta: {
|
||||
title: '销售概览',
|
||||
keepAlive: true,
|
||||
requireAuth: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'list', // ✅ 修复:使用相对路径
|
||||
name: 'SalesOverviewList',
|
||||
meta: {
|
||||
title: '销售概览',
|
||||
keepAlive: true,
|
||||
requireAuth: true,
|
||||
},
|
||||
component: () => import('~/views/salesOverview/list.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
// 中转仓管理路由
|
||||
{
|
||||
path: '/warehouse',
|
||||
component: LayoutIndex,
|
||||
meta: {
|
||||
title: '中转仓管理',
|
||||
keepAlive: true,
|
||||
requireAuth: true,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'warehouseList', // ✅ 修复:使用相对路径
|
||||
name: 'WarehouseList',
|
||||
meta: {
|
||||
title: '中转仓管理',
|
||||
keepAlive: true,
|
||||
requireAuth: true,
|
||||
},
|
||||
component: () => import('~/views/warehouse/warehouse.vue'),
|
||||
},
|
||||
{
|
||||
path: 'warehouseIn', // ✅ 修复:使用相对路径
|
||||
name: 'WarehouseIn',
|
||||
meta: {
|
||||
title: '进仓管理',
|
||||
keepAlive: true,
|
||||
requireAuth: true,
|
||||
},
|
||||
component: () => import('~/views/warehouse/warehouseIn.vue'),
|
||||
},
|
||||
{
|
||||
path: 'warehouseOut', // ✅ 修复:使用相对路径
|
||||
name: 'WarehouseOut',
|
||||
meta: {
|
||||
title: '出仓管理',
|
||||
keepAlive: true,
|
||||
requireAuth: true,
|
||||
},
|
||||
component: () => import('~/views/warehouse/warehouseOut.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/datav',
|
||||
name: 'DataV',
|
||||
meta: {
|
||||
title: '数据大屏',
|
||||
keepAlive: true,
|
||||
requireAuth: false,
|
||||
},
|
||||
component: () => import('~/views/datav/ChinaMapParticle.vue'),
|
||||
},
|
||||
];
|
||||
|
||||
export const dynamicRoutes = [
|
||||
|
||||
Reference in New Issue
Block a user