|
@@ -4,9 +4,9 @@ import layout from '../views/layout/layout'
|
|
|
|
|
|
|
|
const _import = require('./_import_' + process.env.NODE_ENV)
|
|
const _import = require('./_import_' + process.env.NODE_ENV)
|
|
|
|
|
|
|
|
-if(Router.version >= '3.1.0'){
|
|
|
|
|
|
|
+if (Router.version >= '3.1.0') {
|
|
|
const originalPush = Router.prototype.push
|
|
const originalPush = Router.prototype.push
|
|
|
- Router.prototype.push = function push(location) {
|
|
|
|
|
|
|
+ Router.prototype.push = function push (location) {
|
|
|
return originalPush.call(this, location).catch(err => err)
|
|
return originalPush.call(this, location).catch(err => err)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -30,168 +30,164 @@ export const constantRouterMap = [
|
|
|
component: _import('dashboard/index'),
|
|
component: _import('dashboard/index'),
|
|
|
name: 'dashboard_index',
|
|
name: 'dashboard_index',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Dashboard',//控制台
|
|
|
|
|
|
|
+ title: 'Dashboard', // 控制台
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'} // 首页
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
}]
|
|
}]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: '/dashboard/ba-index',
|
|
|
|
|
|
|
+ path: '/shop',
|
|
|
component: layout,
|
|
component: layout,
|
|
|
- redirect: '/dashboard/ba-index',
|
|
|
|
|
- children: [{
|
|
|
|
|
- path: '/dashboard/ba-index',
|
|
|
|
|
- component: _import('dashboard/ba-index'),
|
|
|
|
|
- name: 'dashboard_ba_index',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Dashboard',//控制台
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/ba-index'},//首页
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ redirect: '/shop/dec-order-list',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/dec-order-list',
|
|
|
|
|
+ component: _import('shop/dec-order-list'),
|
|
|
|
|
+ name: 'shop_dec-order-list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Welcome Pack Listing', // 报单列表
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'} // 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
- }]
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/order-list',
|
|
|
|
|
+ component: _import('shop/order-list'),
|
|
|
|
|
+ name: 'shop_order-list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Order List', // 订单列表
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'} // 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/index',
|
|
|
|
|
+ component: _import('shop/index'),
|
|
|
|
|
+ name: 'shop_index',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Products list', // 商品列表
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'} // 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/order-backing-out',
|
|
|
|
|
+ component: _import('shop/order-backing-out'),
|
|
|
|
|
+ name: 'shop_order-list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '订单退货', // 订单退货
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'} // 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/order',
|
|
|
|
|
+ component: _import('shop/order'),
|
|
|
|
|
+ name: 'shop_order',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Products settlement',
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'}// 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/goods-detail/:id',
|
|
|
|
|
+ component: _import('shop/goods-detail'),
|
|
|
|
|
+ name: 'shop_goods-detail',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '商品详情',
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'},
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/ba-product-list',
|
|
|
|
|
+ component: _import('shop/ba-product-list'),
|
|
|
|
|
+ name: 'ba_product_list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Products list', // BA商品列表
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/ba-order-list'} // 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/ba-shopping-cart',
|
|
|
|
|
+ component: _import('shop/ba-shopping-cart'),
|
|
|
|
|
+ name: 'ba-shopping-cart',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Products settlement', // 购物车
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/ba-shopping-cart'}// 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/ba-order-list',
|
|
|
|
|
+ component: _import('shop/ba-order-list'),
|
|
|
|
|
+ name: 'ba_order_list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'BA Order List', // BA订单列表
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/ba-order-list'}// 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/shop/ba-dec-order-list',
|
|
|
|
|
+ component: _import('shop/ba-dec-order-list'),
|
|
|
|
|
+ name: 'shop_ba-dec-order-list',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Welcome BA Listing', // BA报单列表
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Shopping Mall', path: '/shop/dec-order-list'} // 商城管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ // {
|
|
|
|
|
+ // path: '/shop/reconsume',
|
|
|
|
|
+ // component: _import('shop/reconsume'),
|
|
|
|
|
+ // name: 'shop_reconsume',
|
|
|
|
|
+ // meta: {
|
|
|
|
|
+ // title: '复消商品',
|
|
|
|
|
+ // breadcrumb: [
|
|
|
|
|
+ // {title: '首页', path: '/dashboard/index'},
|
|
|
|
|
+ // {title: '商城管理', path: '/shop/dec-order-list'},
|
|
|
|
|
+ // ],
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // path: '/shop/reconsume-order',
|
|
|
|
|
+ // component: _import('shop/reconsume-order'),
|
|
|
|
|
+ // name: 'reconsume-order',
|
|
|
|
|
+ // meta: {
|
|
|
|
|
+ // title: '复消商品结算',
|
|
|
|
|
+ // breadcrumb: [
|
|
|
|
|
+ // {title: '首页', path: '/dashboard/index'},
|
|
|
|
|
+ // {title: '商城管理', path: '/shop/dec-order-list'}
|
|
|
|
|
+ // ],
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- path: '/shop',
|
|
|
|
|
- component: layout,
|
|
|
|
|
- redirect: '/shop/dec-order-list',
|
|
|
|
|
- children: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/dec-order-list',
|
|
|
|
|
- component: _import('shop/dec-order-list'),
|
|
|
|
|
- name: 'shop_dec-order-list',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Welcome Pack Listing',//报单列表
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/order-list',
|
|
|
|
|
- component: _import('shop/order-list'),
|
|
|
|
|
- name: 'shop_order-list',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Order List',//订单列表
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/index',
|
|
|
|
|
- component: _import('shop/index'),
|
|
|
|
|
- name: 'shop_index',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Products list',//商品列表
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/order-backing-out',
|
|
|
|
|
- component: _import('shop/order-backing-out'),
|
|
|
|
|
- name: 'shop_order-list',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: '订单退货',//订单退货
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/order',
|
|
|
|
|
- component: _import('shop/order'),
|
|
|
|
|
- name: 'shop_order',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Products settlement',
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/dec-order-list'}//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/goods-detail/:id',
|
|
|
|
|
- component: _import('shop/goods-detail'),
|
|
|
|
|
- name: 'shop_goods-detail',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: '商品详情',
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/dec-order-list'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/ba-product-list',
|
|
|
|
|
- component: _import('shop/ba-product-list'),
|
|
|
|
|
- name: 'ba_product_list',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Products list',//BA商品列表
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/ba-product-list'},//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/ba-shopping-cart',
|
|
|
|
|
- component: _import('shop/ba-shopping-cart'),
|
|
|
|
|
- name: 'ba-shopping-cart',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Products settlement', // 购物车
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/ba-product-list'}//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: '/shop/ba-order-list',
|
|
|
|
|
- component: _import('shop/ba-order-list'),
|
|
|
|
|
- name: 'ba_order_list',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Order List', // BA订单列表
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Shopping Mall', path: '/shop/ba-product-list'}//商城管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- // {
|
|
|
|
|
- // path: '/shop/reconsume',
|
|
|
|
|
- // component: _import('shop/reconsume'),
|
|
|
|
|
- // name: 'shop_reconsume',
|
|
|
|
|
- // meta: {
|
|
|
|
|
- // title: '复消商品',
|
|
|
|
|
- // breadcrumb: [
|
|
|
|
|
- // {title: '首页', path: '/dashboard/index'},
|
|
|
|
|
- // {title: '商城管理', path: '/shop/dec-order-list'},
|
|
|
|
|
- // ],
|
|
|
|
|
- // },
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // path: '/shop/reconsume-order',
|
|
|
|
|
- // component: _import('shop/reconsume-order'),
|
|
|
|
|
- // name: 'reconsume-order',
|
|
|
|
|
- // meta: {
|
|
|
|
|
- // title: '复消商品结算',
|
|
|
|
|
- // breadcrumb: [
|
|
|
|
|
- // {title: '首页', path: '/dashboard/index'},
|
|
|
|
|
- // {title: '商城管理', path: '/shop/dec-order-list'}
|
|
|
|
|
- // ],
|
|
|
|
|
- // },
|
|
|
|
|
- // },
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
path: '/user',
|
|
path: '/user',
|
|
|
component: layout,
|
|
component: layout,
|
|
@@ -202,24 +198,24 @@ export const constantRouterMap = [
|
|
|
component: _import('user/index'),
|
|
component: _import('user/index'),
|
|
|
name: 'user_index',
|
|
name: 'user_index',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Personal info',//个人资料
|
|
|
|
|
|
|
+ title: 'Personal info', // 个人资料
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Member management', path: '/user/index'},//会员管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: '/user/password',
|
|
|
|
|
- component: _import('user/password'),
|
|
|
|
|
- name: 'user_password',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Reset Password',//重置密码
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Member management', path: '/user/index'},//会员管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ path: '/user/password',
|
|
|
|
|
+ component: _import('user/password'),
|
|
|
|
|
+ name: 'user_password',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Reset Password', // 重置密码
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/id-card',
|
|
path: '/user/id-card',
|
|
@@ -229,9 +225,9 @@ export const constantRouterMap = [
|
|
|
title: '上传身份证',
|
|
title: '上传身份证',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Member management', path: '/user/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/rec-user',
|
|
path: '/user/rec-user',
|
|
@@ -241,9 +237,9 @@ export const constantRouterMap = [
|
|
|
title: '开拓会员列表',
|
|
title: '开拓会员列表',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Member management', path: '/user/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/bind',
|
|
path: '/user/bind',
|
|
@@ -253,9 +249,9 @@ export const constantRouterMap = [
|
|
|
title: '点位绑定列表',
|
|
title: '点位绑定列表',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Member management', path: '/user/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/bind-edit/:id',
|
|
path: '/user/bind-edit/:id',
|
|
@@ -267,80 +263,92 @@ export const constantRouterMap = [
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
{title: 'Member management', path: '/user/index'},
|
|
{title: 'Member management', path: '/user/index'},
|
|
|
- {title: '点位绑定列表', path: '/user/bind'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: '点位绑定列表', path: '/user/bind'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/dec',
|
|
path: '/user/dec',
|
|
|
component: _import('user/dec'),
|
|
component: _import('user/dec'),
|
|
|
name: 'user_dec',
|
|
name: 'user_dec',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Welcome Pack management',//报单管理
|
|
|
|
|
|
|
+ title: 'Welcome Pack management', // 报单管理
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Member management', path: '/user/index'},//会员管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/upgrade',
|
|
path: '/user/upgrade',
|
|
|
component: _import('user/upgrade'),
|
|
component: _import('user/upgrade'),
|
|
|
name: 'user_upgrade',
|
|
name: 'user_upgrade',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Upgrade management',//升级管理
|
|
|
|
|
|
|
+ title: 'Upgrade management', // 升级管理
|
|
|
highLight: '/user/bind',
|
|
highLight: '/user/bind',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Member management', path: '/user/index'},//会员管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/user/ba-dec',
|
|
|
|
|
+ component: _import('user/ba-dec'),
|
|
|
|
|
+ name: 'user_ba-dec',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Welcome BA', // 个人资料
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/ba-info',
|
|
path: '/user/ba-info',
|
|
|
component: _import('user/ba-info'),
|
|
component: _import('user/ba-info'),
|
|
|
name: 'ba-info',
|
|
name: 'ba-info',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Personal Info',//个人资料
|
|
|
|
|
|
|
+ title: 'Personal info', // 个人资料
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Member management', path: '/user/ba-info'},//会员管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/user/ba-password',
|
|
path: '/user/ba-password',
|
|
|
component: _import('user/ba-password'),
|
|
component: _import('user/ba-password'),
|
|
|
name: 'ba-password',
|
|
name: 'ba-password',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Reset Password',//重置密码
|
|
|
|
|
|
|
+ title: 'Reset Password', // 重置密码
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Member management', path: '/user/ba-info'},//会员管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Member management', path: '/user/index'} // 会员管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/atlas',
|
|
|
|
|
+ component: layout,
|
|
|
|
|
+ redirect: '/atlas/network',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/atlas/network',
|
|
|
|
|
+ component: _import('atlas/network'),
|
|
|
|
|
+ name: 'atlas_network',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: 'Placement network',
|
|
|
|
|
+ breadcrumb: [
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'},
|
|
|
|
|
+ {title: 'Network Chart', path: '/atlas/network'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- path: '/atlas',
|
|
|
|
|
- component: layout,
|
|
|
|
|
- redirect: '/atlas/network',
|
|
|
|
|
- children: [
|
|
|
|
|
- {
|
|
|
|
|
- path: '/atlas/network',
|
|
|
|
|
- component: _import('atlas/network'),
|
|
|
|
|
- name: 'atlas_network',
|
|
|
|
|
- meta: {
|
|
|
|
|
- title: 'Placement network',
|
|
|
|
|
- breadcrumb: [
|
|
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},
|
|
|
|
|
- {title: 'Network Chart', path: '/atlas/network'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
path: '/bonus',
|
|
path: '/bonus',
|
|
|
component: layout,
|
|
component: layout,
|
|
@@ -351,12 +359,12 @@ export const constantRouterMap = [
|
|
|
component: _import('bonus/index'),
|
|
component: _import('bonus/index'),
|
|
|
name: 'bonus_index',
|
|
name: 'bonus_index',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'My account',//我的账户
|
|
|
|
|
|
|
+ title: 'My account', // 我的账户
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Bonus management', path: '/bonus/index'},//奖金管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Bonus management', path: '/bonus/index'} // 奖金管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bonus/new',
|
|
path: '/bonus/new',
|
|
@@ -366,33 +374,33 @@ export const constantRouterMap = [
|
|
|
title: '最新奖金',
|
|
title: '最新奖金',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Bonus management', path: '/bonus/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Bonus management', path: '/bonus/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bonus/other',
|
|
path: '/bonus/other',
|
|
|
component: _import('bonus/other'),
|
|
component: _import('bonus/other'),
|
|
|
name: 'bonus_other',
|
|
name: 'bonus_other',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Previous bonus',//往期奖金
|
|
|
|
|
|
|
+ title: 'Previous bonus', // 往期奖金
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
|
|
|
|
|
- {title: 'Bonus management', path: '/bonus/index'},//奖金管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
|
|
|
|
|
+ {title: 'Bonus management', path: '/bonus/index'} // 奖金管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bonus/historical-cumulative-bonus',
|
|
path: '/bonus/historical-cumulative-bonus',
|
|
|
component: _import('bonus/historical-cumulative-bonus'),
|
|
component: _import('bonus/historical-cumulative-bonus'),
|
|
|
name: 'historical-cumulative-bonus',
|
|
name: 'historical-cumulative-bonus',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Historical cumulative bonus',//往期历史奖金累积
|
|
|
|
|
|
|
+ title: 'Historical cumulative bonus', // 往期历史奖金累积
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
|
|
|
|
|
- {title: 'Bonus management', path: '/bonus/index'},//奖金管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
|
|
|
|
|
+ {title: 'Bonus management', path: '/bonus/index'} // 奖金管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bonus/real-time-perf',
|
|
path: '/bonus/real-time-perf',
|
|
@@ -402,9 +410,9 @@ export const constantRouterMap = [
|
|
|
title: '实时业绩',
|
|
title: '实时业绩',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Bonus management', path: '/bonus/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Bonus management', path: '/bonus/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/bonus/fc-point',
|
|
path: '/bonus/fc-point',
|
|
@@ -414,10 +422,10 @@ export const constantRouterMap = [
|
|
|
title: '房产积分',
|
|
title: '房产积分',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Bonus management', path: '/bonus/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Bonus management', path: '/bonus/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
@@ -434,9 +442,9 @@ export const constantRouterMap = [
|
|
|
title: 'Article List',
|
|
title: 'Article List',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Article Management', path: '/article/list'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Article Management', path: '/article/list'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/article/detail/:id',
|
|
path: '/article/detail/:id',
|
|
@@ -446,10 +454,10 @@ export const constantRouterMap = [
|
|
|
title: 'Article Detail',
|
|
title: 'Article Detail',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Article Management', path: '/article/list'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Article Management', path: '/article/list'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -465,9 +473,9 @@ export const constantRouterMap = [
|
|
|
title: '站内信列表',
|
|
title: '站内信列表',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: '站内信', path: '/message/list'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: '站内信', path: '/message/list'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/message/detail/:id',
|
|
path: '/message/detail/:id',
|
|
@@ -477,10 +485,10 @@ export const constantRouterMap = [
|
|
|
title: '站内信详情',
|
|
title: '站内信详情',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: '站内信', path: '/message/list'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: '站内信', path: '/message/list'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -496,35 +504,35 @@ export const constantRouterMap = [
|
|
|
title: '会员复销池余额流水',
|
|
title: '会员复销池余额流水',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Financial management', path: '/finance/withdraw'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Financial management', path: '/finance/withdraw'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/withdraw',
|
|
path: '/finance/withdraw',
|
|
|
component: _import('finance/withdraw'),
|
|
component: _import('finance/withdraw'),
|
|
|
name: 'finance_withdraw',
|
|
name: 'finance_withdraw',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Withdrawal details',//提现明细
|
|
|
|
|
|
|
+ title: 'Withdrawal details', // 提现明细
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Financial management', path: '/finance/index'},//财务管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Financial management', path: '/finance/index'} // 财务管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/withdraw-add',
|
|
path: '/finance/withdraw-add',
|
|
|
component: _import('finance/withdraw-add'),
|
|
component: _import('finance/withdraw-add'),
|
|
|
name: 'finance_withdraw-add',
|
|
name: 'finance_withdraw-add',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Withdraw',//我要提现
|
|
|
|
|
|
|
+ title: 'Withdraw', // 我要提现
|
|
|
highLight: '/finance/withdraw',
|
|
highLight: '/finance/withdraw',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Financial management', path: '/finance/index'},//财务管理
|
|
|
|
|
- {title: 'Withdrawal details', path: '/finance/withdraw'},//提现明细
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Financial management', path: '/finance/index'}, // 财务管理
|
|
|
|
|
+ {title: 'Withdrawal details', path: '/finance/withdraw'} // 提现明细
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/dec-list',
|
|
path: '/finance/dec-list',
|
|
@@ -534,9 +542,9 @@ export const constantRouterMap = [
|
|
|
title: '报单订货单列表',
|
|
title: '报单订货单列表',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Financial management', path: '/finance/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Financial management', path: '/finance/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/transfer-list',
|
|
path: '/finance/transfer-list',
|
|
@@ -546,9 +554,9 @@ export const constantRouterMap = [
|
|
|
title: 'Transfer',
|
|
title: 'Transfer',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Financial management', path: '/finance/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Financial management', path: '/finance/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/transfer-add',
|
|
path: '/finance/transfer-add',
|
|
@@ -559,9 +567,9 @@ export const constantRouterMap = [
|
|
|
highLight: '/finance/transfer-list',
|
|
highLight: '/finance/transfer-list',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
{title: 'Dashboard', path: '/dashboard/index'},
|
|
|
- {title: 'Financial management', path: '/finance/index'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Financial management', path: '/finance/index'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/recharge',
|
|
path: '/finance/recharge',
|
|
@@ -571,9 +579,9 @@ export const constantRouterMap = [
|
|
|
title: 'Recharge details', // 充值明细
|
|
title: 'Recharge details', // 充值明细
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
{title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
- {title: 'financial management', path: '/finance/index'}, // 财务管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'financial management', path: '/finance/index'} // 财务管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/finance/recharge-add',
|
|
path: '/finance/recharge-add',
|
|
@@ -585,10 +593,10 @@ export const constantRouterMap = [
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
{title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
{title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
{title: 'financial management', path: '/finance/index'}, // 财务管理
|
|
{title: 'financial management', path: '/finance/index'}, // 财务管理
|
|
|
- {title: 'Recharge details', path: '/finance/recharge'},
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Recharge details', path: '/finance/recharge'}
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -601,26 +609,26 @@ export const constantRouterMap = [
|
|
|
component: _import('config/receive-address-list'),
|
|
component: _import('config/receive-address-list'),
|
|
|
name: 'config_receive-address-list',
|
|
name: 'config_receive-address-list',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Shipping Address',//收货地址管理
|
|
|
|
|
|
|
+ title: 'Shipping Address', // 收货地址管理
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Setting', path: '/config/base'},//设置
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Setting', path: '/config/base'} // 设置
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/config/receive-address-add',
|
|
path: '/config/receive-address-add',
|
|
|
component: _import('config/receive-address-edit'),
|
|
component: _import('config/receive-address-edit'),
|
|
|
name: 'config_receive-address-add',
|
|
name: 'config_receive-address-add',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Add shipping address',//添加收货地址
|
|
|
|
|
|
|
+ title: 'Add shipping address', // 添加收货地址
|
|
|
highLight: '/config/receive-address-list',
|
|
highLight: '/config/receive-address-list',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Setting', path: '/config/base'},//设置
|
|
|
|
|
- {title: 'Shipping Address', path: '/config/receive-address-list'},//收货地址管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Setting', path: '/config/base'}, // 设置
|
|
|
|
|
+ {title: 'Shipping Address', path: '/config/receive-address-list'} // 收货地址管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/config/receive-address-edit/:id',
|
|
path: '/config/receive-address-edit/:id',
|
|
@@ -630,11 +638,11 @@ export const constantRouterMap = [
|
|
|
title: 'Edit address',
|
|
title: 'Edit address',
|
|
|
highLight: '/config/receive-address-list',
|
|
highLight: '/config/receive-address-list',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Setting', path: '/config/base'},//设置
|
|
|
|
|
- {title: 'Shipping Address', path: '/config/receive-address-list'},//收货地址管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Setting', path: '/config/base'}, // 设置
|
|
|
|
|
+ {title: 'Shipping Address', path: '/config/receive-address-list'} // 收货地址管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
@@ -642,26 +650,26 @@ export const constantRouterMap = [
|
|
|
component: _import('config/ba-receive-address-list'),
|
|
component: _import('config/ba-receive-address-list'),
|
|
|
name: 'ba-receive-address-list',
|
|
name: 'ba-receive-address-list',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Shipping Address',//收货地址管理
|
|
|
|
|
|
|
+ title: 'Shipping Address', // 收货地址管理
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Setting', path: '/config/ba-receive-address-list'},//设置
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Setting', path: '/config/base'} // 设置
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/config/ba-receive-address-add',
|
|
path: '/config/ba-receive-address-add',
|
|
|
component: _import('config/ba-receive-address-edit'),
|
|
component: _import('config/ba-receive-address-edit'),
|
|
|
name: 'ba-receive-address-add',
|
|
name: 'ba-receive-address-add',
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: 'Add Shipping Address',//添加收货地址
|
|
|
|
|
|
|
+ title: 'Add Shipping Address', // 添加收货地址
|
|
|
highLight: '/config/ba-receive-address-list',
|
|
highLight: '/config/ba-receive-address-list',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Setting', path: '/config/ba-receive-address-list'},//设置
|
|
|
|
|
- {title: 'Shipping Address', path: '/config/ba-receive-address-list'},//收货地址管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Setting', path: '/config/base'}, // 设置
|
|
|
|
|
+ {title: 'Shipping Address', path: '/config/ba-receive-address-list'} // 收货地址管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: '/config/ba-receive-address-edit/:id',
|
|
path: '/config/ba-receive-address-edit/:id',
|
|
@@ -671,14 +679,14 @@ export const constantRouterMap = [
|
|
|
title: 'Edit Address',
|
|
title: 'Edit Address',
|
|
|
highLight: '/config/ba-receive-address-list',
|
|
highLight: '/config/ba-receive-address-list',
|
|
|
breadcrumb: [
|
|
breadcrumb: [
|
|
|
- {title: 'Dashboard', path: '/dashboard/index'},//首页
|
|
|
|
|
- {title: 'Setting', path: '/config/ba-receive-address-list'},//设置
|
|
|
|
|
- {title: 'Shipping Address', path: '/config/ba-receive-address-list'},//收货地址管理
|
|
|
|
|
- ],
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ {title: 'Dashboard', path: '/dashboard/index'}, // 首页
|
|
|
|
|
+ {title: 'Setting', path: '/config/base'}, // 设置
|
|
|
|
|
+ {title: 'Shipping Address', path: '/config/ba-receive-address-list'} // 收货地址管理
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
- },
|
|
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
export default new Router({
|
|
export default new Router({
|