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.
160 lines
3.3 KiB
160 lines
3.3 KiB
export default [
|
|
{
|
|
path: '/',
|
|
redirect: '/goods_manage/list',
|
|
},
|
|
{
|
|
path: '/login',
|
|
component: './Login',
|
|
layout: false,
|
|
},
|
|
{
|
|
path: '/login_result',
|
|
component: './LoginResult',
|
|
layout: false,
|
|
},
|
|
{
|
|
name: '商品管理',
|
|
path: '/goods_manage',
|
|
icon: '/menu/goods.png',
|
|
routes: [
|
|
{
|
|
name: '商品列表',
|
|
path: 'list',
|
|
component: './GoodsList',
|
|
exact: true,
|
|
},
|
|
{
|
|
name: '销售管理',
|
|
path: 'sell',
|
|
component: './GoodsSell',
|
|
exact: true,
|
|
},
|
|
{
|
|
name: '发布新商品',
|
|
path: 'publish',
|
|
component: './GoodsPublish',
|
|
exact: true,
|
|
},
|
|
{
|
|
name: '商品详情',
|
|
path: 'detail',
|
|
component: './GoodsPublish',
|
|
hideInMenu: true,
|
|
exact: true,
|
|
},
|
|
{ path: '/goods_manage', redirect: '/goods_manage/list' },
|
|
],
|
|
},
|
|
{
|
|
name: '任务管理',
|
|
path: '/task_manage',
|
|
icon: '/menu/task.png',
|
|
routes: [
|
|
{
|
|
name: '任务列表',
|
|
path: 'list',
|
|
component: './TaskList',
|
|
exact: true,
|
|
},
|
|
{
|
|
name: '任务审核',
|
|
path: 'auditlist',
|
|
component: './TaskAuditList',
|
|
exact: true,
|
|
},
|
|
{
|
|
name: '新建任务',
|
|
path: 'publish',
|
|
component: './TaskPublish',
|
|
exact: true,
|
|
},
|
|
{
|
|
name: '任务详情',
|
|
path: 'detail',
|
|
component: './TaskDetail',
|
|
hideInMenu: true,
|
|
exact: true,
|
|
},
|
|
{ path: '/task_manage', redirect: '/task_manage/list' },
|
|
],
|
|
},
|
|
{
|
|
name: '资金管理',
|
|
path: '/funds_manage',
|
|
icon: '/menu/funds.png',
|
|
routes: [
|
|
{
|
|
name: '资金管理',
|
|
path: 'list',
|
|
exact: true,
|
|
component: './FundsManage',
|
|
},
|
|
{
|
|
name: '对账中心',
|
|
path: 'confirm',
|
|
exact: true,
|
|
component: './FundsConfirm',
|
|
},
|
|
{
|
|
name: '提现管理',
|
|
path: 'withdraw',
|
|
exact: true,
|
|
component: './FundsWithdraw',
|
|
},
|
|
{
|
|
name: '账户管理',
|
|
path: 'account',
|
|
exact: true,
|
|
component: './FundsAccount',
|
|
},
|
|
{ path: '/funds_manage', redirect: '/funds_manage/list' },
|
|
],
|
|
},
|
|
{
|
|
name: '订单管理',
|
|
path: '/order_manage',
|
|
icon: '/menu/order.png',
|
|
routes: [
|
|
{
|
|
name: '订单列表',
|
|
path: 'list',
|
|
exact: true,
|
|
component: './OrderList',
|
|
},
|
|
{
|
|
name: '退款审核',
|
|
path: 'backlist',
|
|
exact: true,
|
|
component: './OrderBackList',
|
|
},
|
|
{
|
|
name: '发货管理',
|
|
path: 'express',
|
|
exact: true,
|
|
component: './OrderExpress',
|
|
},
|
|
{
|
|
name: '订单详情',
|
|
path: 'detail',
|
|
component: './OrderDetail',
|
|
exact: true,
|
|
hideInMenu: true,
|
|
},
|
|
{
|
|
name: '任务订单',
|
|
path: 'task_order_list',
|
|
exact: true,
|
|
component: './TaskOrderList',
|
|
},
|
|
{
|
|
name: '订单详情',
|
|
path: 'task_order_detail',
|
|
component: './TaskOrderDetail',
|
|
exact: true,
|
|
hideInMenu: true,
|
|
},
|
|
{ path: '/order_manage', redirect: '/order_manage/list' },
|
|
],
|
|
},
|
|
];
|
|
|