|
@@ -66,55 +66,139 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|
|
path: '/index',
|
|
path: '/index',
|
|
|
component: () => import('@/views/index.vue'),
|
|
component: () => import('@/views/index.vue'),
|
|
|
name: 'Index',
|
|
name: 'Index',
|
|
|
- meta: { title: '首页', icon: 'dashboard', affix: true, nav: true }
|
|
|
|
|
|
|
+ meta: { title: '优易365', icon: 'dashboard', affix: true, nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'solve/index',
|
|
|
|
|
- component: () => import('@/views/solve/index.vue'),
|
|
|
|
|
- name: 'solveIndex',
|
|
|
|
|
- meta: { title: '解决方案', nav: true, breadcrumb: true }
|
|
|
|
|
|
|
+ path: '/indexB',
|
|
|
|
|
+ component: () => import('@/views/home/index-b.vue'),
|
|
|
|
|
+ name: 'IndexB',
|
|
|
|
|
+ meta: { title: '企业购商城', icon: 'dashboard', affix: true, nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'solve/info',
|
|
|
|
|
- component: () => import('@/views/solve/info.vue'),
|
|
|
|
|
- name: 'solveInfo',
|
|
|
|
|
- meta: { title: '解决方案详情', nav: true, breadcrumb: true, navList: [{ title: '解决方案', url: '/solve/index' }] }
|
|
|
|
|
|
|
+ path: '/indexMro',
|
|
|
|
|
+ component: () => import('@/views/home/index-mro.vue'),
|
|
|
|
|
+ name: 'IndexMro',
|
|
|
|
|
+ meta: { title: '工业品商城', icon: 'dashboard', affix: true, nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'solve/real',
|
|
|
|
|
- component: () => import('@/views/solve/real.vue'),
|
|
|
|
|
- name: 'solveReal',
|
|
|
|
|
- meta: { title: '资讯详情', nav: true, breadcrumb: true, breadcrumbColor: '#F4F4F4' }
|
|
|
|
|
|
|
+ path: '/indexFuli',
|
|
|
|
|
+ component: () => import('@/views/home/index-fuli.vue'),
|
|
|
|
|
+ name: 'IndexFuli',
|
|
|
|
|
+ meta: { title: '福礼商城', icon: 'dashboard', affix: true, nav: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/reg',
|
|
|
|
|
+ component: () => import('@/views/reg/index.vue'),
|
|
|
|
|
+ name: 'Reg',
|
|
|
|
|
+ meta: { title: '个人注册', icon: 'dashboard', affix: true, nav: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/breg',
|
|
|
|
|
+ component: () => import('@/views/breg/index.vue'),
|
|
|
|
|
+ name: 'Breg',
|
|
|
|
|
+ meta: { title: '企业注册', header: 'hide', search: 'hide' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/greg',
|
|
|
|
|
+ component: () => import('@/views/greg/index.vue'),
|
|
|
|
|
+ name: 'Greg',
|
|
|
|
|
+ meta: { title: '供应商注册', header: 'hide', search: 'hide' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/search',
|
|
|
|
|
+ component: () => import('@/views/search/index.vue'),
|
|
|
|
|
+ name: 'Search',
|
|
|
|
|
+ meta: { title: '搜索', icon: 'dashboard', affix: true, nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'shop/info',
|
|
|
|
|
- component: () => import('@/views/shop/info.vue'),
|
|
|
|
|
- name: 'shopInfo',
|
|
|
|
|
|
|
+ path: '/item',
|
|
|
|
|
+ component: () => import('@/views/item/index.vue'),
|
|
|
|
|
+ name: 'Item',
|
|
|
meta: { title: '商品详情', nav: true, breadcrumb: true, breadcrumbColor: '#F4F4F4' }
|
|
meta: { title: '商品详情', nav: true, breadcrumb: true, breadcrumbColor: '#F4F4F4' }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'shop/cart',
|
|
|
|
|
- component: () => import('@/views/shop/cart.vue'),
|
|
|
|
|
- name: 'shopCart',
|
|
|
|
|
|
|
+ path: '/cart',
|
|
|
|
|
+ component: () => import('@/views/cart/index.vue'),
|
|
|
|
|
+ name: 'Cart',
|
|
|
meta: { title: '我的购物车', nav: true }
|
|
meta: { title: '我的购物车', nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'shop/create',
|
|
|
|
|
- component: () => import('@/views/shop/create.vue'),
|
|
|
|
|
- name: 'shopCreate',
|
|
|
|
|
|
|
+ path: '/trad',
|
|
|
|
|
+ component: () => import('@/views/trad/index.vue'),
|
|
|
|
|
+ name: 'Trad',
|
|
|
meta: { title: '确认订单信息', nav: true }
|
|
meta: { title: '确认订单信息', nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'shop/pay',
|
|
|
|
|
- component: () => import('@/views/shop/pay.vue'),
|
|
|
|
|
|
|
+ path: '/payc',
|
|
|
|
|
+ component: () => import('@/views/payc/index.vue'),
|
|
|
name: 'shopPay',
|
|
name: 'shopPay',
|
|
|
meta: { title: '支付订单', nav: true }
|
|
meta: { title: '支付订单', nav: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- path: 'register/enterprise',
|
|
|
|
|
- component: () => import('@/views/register/enterprise.vue'),
|
|
|
|
|
- name: 'registerEnterprise',
|
|
|
|
|
- meta: { title: '企业注册', header: 'hide', search: 'hide' }
|
|
|
|
|
|
|
+ path: 'solve/real',
|
|
|
|
|
+ component: () => import('@/views/solve/real.vue'),
|
|
|
|
|
+ name: 'solveReal',
|
|
|
|
|
+ meta: { title: '资讯详情', nav: true, breadcrumb: true, breadcrumbColor: '#F4F4F4' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/order/orderManage',
|
|
|
|
|
+ name: 'OrderManage',
|
|
|
|
|
+ component: () => import('@/views/order/orderManage/index.vue'),
|
|
|
|
|
+ meta: { title: '订单管理', workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/order/orderManage/detail/:orderNo',
|
|
|
|
|
+ name: 'OrderDetail',
|
|
|
|
|
+ component: () => import('@/views/order/orderManage/detail.vue'),
|
|
|
|
|
+ meta: { title: '订单详情', hidden: true, workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/order/orderAudit',
|
|
|
|
|
+ name: 'OrderAudit',
|
|
|
|
|
+ component: () => import('@/views/order/orderAudit/index.vue'),
|
|
|
|
|
+ meta: { title: '审核订单', workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/order/afterSale',
|
|
|
|
|
+ name: 'AfterSale',
|
|
|
|
|
+ component: () => import('@/views/order/afterSale/index.vue'),
|
|
|
|
|
+ meta: { title: '售后服务', workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/order/batchOrder',
|
|
|
|
|
+ name: 'BatchOrder',
|
|
|
|
|
+ component: () => import('@/views/order/batchOrder/index.vue'),
|
|
|
|
|
+ meta: { title: '批量下单', workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/order/orderEvaluation',
|
|
|
|
|
+ name: 'OrderEvaluation',
|
|
|
|
|
+ component: () => import('@/views/order/orderEvaluation/index.vue'),
|
|
|
|
|
+ meta: { title: '订单评价', workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/plan',
|
|
|
|
|
+ component: () => import('@/views/plan/index.vue'),
|
|
|
|
|
+ name: 'Plan',
|
|
|
|
|
+ meta: { title: '解决方案', nav: true, breadcrumb: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/plan_info',
|
|
|
|
|
+ component: () => import('@/views/plan_info/index.vue'),
|
|
|
|
|
+ name: 'PlanInfo',
|
|
|
|
|
+ meta: { title: '解决方案详情', nav: true, breadcrumb: true, navList: [{ title: '解决方案', url: '/plan' }] }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/i',
|
|
|
|
|
+ name: 'I',
|
|
|
|
|
+ component: () => import('@/views/i/index.vue'),
|
|
|
|
|
+ meta: { title: '个人信息', workbench: true }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: '/easybuv',
|
|
|
|
|
+ name: 'Easybuv',
|
|
|
|
|
+ component: () => import('@/views/easybuv/index.vue'),
|
|
|
|
|
+ meta: { title: '地址管理', workbench: true }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'enterprise/companyInfo',
|
|
path: 'enterprise/companyInfo',
|
|
@@ -158,12 +242,7 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|
|
component: () => import('@/views/enterprise/messageNotice/index.vue'),
|
|
component: () => import('@/views/enterprise/messageNotice/index.vue'),
|
|
|
meta: { title: '消息通知', workbench: true }
|
|
meta: { title: '消息通知', workbench: true }
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- path: 'enterprise/addressManage',
|
|
|
|
|
- name: 'AddressManage',
|
|
|
|
|
- component: () => import('@/views/enterprise/addressManage/index.vue'),
|
|
|
|
|
- meta: { title: '地址管理', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
path: 'enterprise/invoiceManage',
|
|
path: 'enterprise/invoiceManage',
|
|
|
name: 'InvoiceManage',
|
|
name: 'InvoiceManage',
|
|
@@ -200,48 +279,6 @@ export const constantRoutes: RouteRecordRaw[] = [
|
|
|
component: () => import('@/views/enterprise/myFootprint/index.vue'),
|
|
component: () => import('@/views/enterprise/myFootprint/index.vue'),
|
|
|
meta: { title: '我的足迹', workbench: true }
|
|
meta: { title: '我的足迹', workbench: true }
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- path: 'trade/orderManage',
|
|
|
|
|
- name: 'OrderManage',
|
|
|
|
|
- component: () => import('@/views/trade/orderManage/index.vue'),
|
|
|
|
|
- meta: { title: '订单管理', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'trade/orderManage/detail/:orderNo',
|
|
|
|
|
- name: 'OrderDetail',
|
|
|
|
|
- component: () => import('@/views/trade/orderManage/detail.vue'),
|
|
|
|
|
- meta: { title: '订单详情', hidden: true, workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'trade/orderAudit',
|
|
|
|
|
- name: 'OrderAudit',
|
|
|
|
|
- component: () => import('@/views/trade/orderAudit/index.vue'),
|
|
|
|
|
- meta: { title: '审核订单', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'trade/afterSale',
|
|
|
|
|
- name: 'AfterSale',
|
|
|
|
|
- component: () => import('@/views/trade/afterSale/index.vue'),
|
|
|
|
|
- meta: { title: '售后服务', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'trade/batchOrder',
|
|
|
|
|
- name: 'BatchOrder',
|
|
|
|
|
- component: () => import('@/views/trade/batchOrder/index.vue'),
|
|
|
|
|
- meta: { title: '批量下单', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'trade/orderEvaluation',
|
|
|
|
|
- name: 'OrderEvaluation',
|
|
|
|
|
- component: () => import('@/views/trade/orderEvaluation/index.vue'),
|
|
|
|
|
- meta: { title: '订单评价', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- path: 'organization/personalInfo',
|
|
|
|
|
- name: 'PersonalInfo',
|
|
|
|
|
- component: () => import('@/views/organization/personalInfo/index.vue'),
|
|
|
|
|
- meta: { title: '个人信息', workbench: true }
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
path: 'organization/deptManage',
|
|
path: 'organization/deptManage',
|
|
|
name: 'DeptManage',
|
|
name: 'DeptManage',
|