You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
3.8 KiB
108 lines
3.8 KiB
export default [
|
|
{
|
|
path: '/sales',
|
|
name: 'SalesCenter',
|
|
component: () => import('@/layouts/default.vue'),
|
|
meta: {
|
|
title: '销售中心',
|
|
icon: 'money-dollar-circle-fill',
|
|
layout: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'order',
|
|
name: 'OrderManagement',
|
|
component: () => import('@/views/sales/order/index.vue'),
|
|
meta: {
|
|
title: '订单管理',
|
|
icon: 'barcode-box-fill',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'detail/:id',
|
|
name: 'OrderDetail',
|
|
component: () => import('@/views/sales/order/detail.vue'),
|
|
meta: {
|
|
title: '订单详情',
|
|
icon: 'barcode-box-fill',
|
|
hidden: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'ship',
|
|
name: 'OrderShip',
|
|
component: () => import('@/views/sales/order/ship.vue'),
|
|
meta: {
|
|
title: '批量发货',
|
|
icon: 'barcode-box-fill',
|
|
hidden: true,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: 'category',
|
|
name: 'CategoryManagement',
|
|
component: () => import('@/views/sales/category/index.vue'),
|
|
meta: {
|
|
title: '商品分类',
|
|
icon: 'barcode-box-fill',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'create',
|
|
name: 'CreateCategory',
|
|
component: () => import('@/views/sales/category/form.vue'),
|
|
meta: {
|
|
title: '创建分类',
|
|
icon: 'barcode-box-fill',
|
|
hidden: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'update/:id',
|
|
name: 'UpdateCategory',
|
|
component: () => import('@/views/sales/category/form.vue'),
|
|
meta: {
|
|
title: '编辑分类',
|
|
icon: 'barcode-box-fill',
|
|
hidden: true,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: 'product',
|
|
name: 'ProductManagement',
|
|
component: () => import('@/views/sales/product/index.vue'),
|
|
meta: {
|
|
title: '商品管理',
|
|
icon: 'barcode-box-fill',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'create',
|
|
name: 'CreateProduct',
|
|
component: () => import('@/views/sales/product/form/index.vue'),
|
|
meta: {
|
|
title: '创建商品',
|
|
icon: 'barcode-box-fill',
|
|
hidden: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'update/:id/:step?',
|
|
name: 'UpdateProduct',
|
|
component: () => import('@/views/sales/product/form/index.vue'),
|
|
meta: {
|
|
title: '编辑商品',
|
|
icon: 'barcode-box-fill',
|
|
hidden: true,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
];
|