|
@@ -3,195 +3,145 @@
|
|
|
import Layout from '@/layout'
|
|
|
|
|
|
const strictRouter = {
|
|
|
- path: '/user',
|
|
|
+ path: '/stricts',
|
|
|
component: Layout,
|
|
|
- redirect: '/user/list',
|
|
|
+ redirect: '/stricts/list',
|
|
|
alwaysShow: true, // will always show the root menu
|
|
|
- name: 'UserSitting', // name必须和后台配置一致,不然匹配不到
|
|
|
- meta: { title: '用户管理', icon: 'user' },
|
|
|
+ name: 'StrictsSitting', // name必须和后台配置一致,不然匹配不到
|
|
|
+ meta: { title: '颜选美学', icon: 'user' },
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'record-list',
|
|
|
- name: 'RecordList',
|
|
|
- component: () => import('@/views/user/record/list'),
|
|
|
- meta: { title: '用户行为记录', icon: 'international', activeMenu: '/user/list' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'detail-list',
|
|
|
- hidden: true,
|
|
|
- component: () => import('@/views/user/record/detail-list'),
|
|
|
- name: 'RecordDtails',
|
|
|
- meta: { title: '查看详情', noCache: true, activeMenu: '/user/list' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'customer',
|
|
|
- name: 'CustomerMenu',
|
|
|
- redirect: '/user/customer',
|
|
|
+ path: 'applet',
|
|
|
+ name: 'AppletMenu',
|
|
|
+ redirect: '/stricts',
|
|
|
component: () => import('@/views/index'),
|
|
|
- meta: { title: '潜客搜集' },
|
|
|
+ meta: { title: '商城配置' },
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'list',
|
|
|
- name: 'CustomerList',
|
|
|
- component: () => import('@/views/user/customer/list'),
|
|
|
- meta: { title: '供应商列表' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'market-list',
|
|
|
- name: 'MarketList',
|
|
|
- component: () => import('@/views/user/customer/market-list'),
|
|
|
- meta: { title: '营销数据报表' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'market-report-list',
|
|
|
- name: 'MarketReportList',
|
|
|
- component: () => import('@/views/user/customer/market-report-list'),
|
|
|
- meta: { title: '数据报表' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'market-edit',
|
|
|
- name: 'MarketEdit',
|
|
|
- component: () => import('@/views/user/customer/market-edit'),
|
|
|
- meta: { title: '数据报表上传/编辑' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'customer-stat-list',
|
|
|
- name: 'CustomerStatsList',
|
|
|
- component: () => import('@/views/user/customer/customer-stat-list'),
|
|
|
- meta: { title: '潜客统计列表' },
|
|
|
- hidden: true
|
|
|
+ path: 'menus-list',
|
|
|
+ name: 'MenusList',
|
|
|
+ component: () => import('@/views/stricts/menus/list'),
|
|
|
+ meta: { title: '首页导航' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'customer-remarks',
|
|
|
- name: 'CustomerRemarks',
|
|
|
- component: () => import('@/views/user/customer/customer-remarks'),
|
|
|
- meta: { title: '潜客备注' },
|
|
|
- hidden: true
|
|
|
+ path: 'banners-list',
|
|
|
+ name: 'BannersList',
|
|
|
+ component: () => import('@/views/stricts/banners/list'),
|
|
|
+ meta: { title: '轮播图片' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'customer-remarks-add',
|
|
|
- name: 'CustomerRemarksAdd',
|
|
|
- component: () => import('@/views/user/customer/customer-remarks-add '),
|
|
|
- meta: { title: '添加备注' },
|
|
|
- hidden: true
|
|
|
+ path: 'floors-list',
|
|
|
+ name: 'FloorsList',
|
|
|
+ component: () => import('@/views/stricts/floors/list'),
|
|
|
+ meta: { title: '首页楼层' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'customer-ambition-list',
|
|
|
- name: 'CustomerAmbitionList',
|
|
|
- component: () => import('@/views/user/customer/customer-ambition-list'),
|
|
|
- meta: { title: '意向客户数据' },
|
|
|
- hidden: true
|
|
|
+ path: 'products-list',
|
|
|
+ name: 'ProductsList',
|
|
|
+ component: () => import('@/views/stricts/products/list'),
|
|
|
+ meta: { title: '商品管理' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'customer-ambition-edit',
|
|
|
- name: 'CustomerAmbitionEdit',
|
|
|
- component: () => import('@/views/user/customer/customer-ambition-edit'),
|
|
|
- meta: { title: '添加/编辑' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'customer-ambition-sum',
|
|
|
- name: 'CustomerAmbitionSum',
|
|
|
- component: () => import('@/views/user/customer/customer-ambition-sum'),
|
|
|
- meta: { title: '数据总结' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'customer-article-list',
|
|
|
- name: 'CustomerArticleList',
|
|
|
- component: () => import('@/views/user/customer/customer-article-list'),
|
|
|
- meta: { title: '相关文章' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'customer-goods-list',
|
|
|
- name: 'CustomerGoodsList',
|
|
|
- component: () => import('@/views/user/customer/customer-goods-list'),
|
|
|
- meta: { title: '相关商品' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
+ path: 'categorys-list',
|
|
|
+ name: 'CategorysList',
|
|
|
+ component: () => import('@/views/stricts/categorys/list'),
|
|
|
+ meta: { title: '分类管理' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'user',
|
|
|
+ name: 'StrictsUserMenu',
|
|
|
+ redirect: '/stricts',
|
|
|
+ component: () => import('@/views/index'),
|
|
|
+ meta: { title: '用户管理' },
|
|
|
+ children: [
|
|
|
{
|
|
|
- path: 'customer-search-list',
|
|
|
- name: 'CustomerSearchList',
|
|
|
- component: () => import('@/views/user/customer/customer-search-list'),
|
|
|
- meta: { title: '相关搜索词' },
|
|
|
- hidden: true
|
|
|
+ path: 'list',
|
|
|
+ name: 'UsersList',
|
|
|
+ component: () => import('@/views/stricts/users/list'),
|
|
|
+ meta: { title: '用户列表' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'customer-page-list',
|
|
|
- name: 'CustomerPageList',
|
|
|
- component: () => import('@/views/user/customer/customer-page-list'),
|
|
|
- meta: { title: '页面访问统计' },
|
|
|
- hidden: true
|
|
|
- },
|
|
|
+ path: 'retails-list',
|
|
|
+ name: 'RetailsList',
|
|
|
+ component: () => import('@/views/stricts/retails/list'),
|
|
|
+ meta: { title: '分销列表' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'activitys',
|
|
|
+ name: 'ActivitysMenu',
|
|
|
+ redirect: '/stricts',
|
|
|
+ component: () => import('@/views/index'),
|
|
|
+ meta: { title: '商城活动' },
|
|
|
+ children: [
|
|
|
{
|
|
|
- path: 'customer-popup-edit',
|
|
|
- name: 'CustomerPopupEdit',
|
|
|
- component: () => import('@/views/user/customer/customer-popup-edit'),
|
|
|
- meta: { title: '弹窗样式编辑' },
|
|
|
- hidden: true
|
|
|
+ path: 'list',
|
|
|
+ name: 'ActivitysList',
|
|
|
+ component: () => import('@/views/stricts/activitys/list'),
|
|
|
+ meta: { title: '活动列表' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'advertis-list',
|
|
|
- name: 'AdvertisList',
|
|
|
- component: () => import('@/views/user/customer/advertis-list'),
|
|
|
- meta: { title: '供应商广告图' }
|
|
|
+ path: 'specials-list',
|
|
|
+ name: 'ActivitysSpecialsList',
|
|
|
+ component: () => import('@/views/stricts/activitys/specials'),
|
|
|
+ meta: { title: '限时特价' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'advertis-edit',
|
|
|
- name: 'AdvertisEdit',
|
|
|
- component: () => import('@/views/user/customer/advertis-edit'),
|
|
|
- meta: { title: '广告图添加' }
|
|
|
+ path: 'shares-list',
|
|
|
+ name: 'ActivitysSharesList',
|
|
|
+ component: () => import('@/views/stricts/activitys/shares'),
|
|
|
+ meta: { title: '分享减免' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: 'consult',
|
|
|
- name: 'ConsultMenu',
|
|
|
- redirect: '/user/consult',
|
|
|
+ path: 'internal-list',
|
|
|
+ name: 'InternalList',
|
|
|
+ component: () => import('@/views/stricts/activitys/internal-list'),
|
|
|
+ meta: { title: '内部优惠', icon: 'international', activeMenu: '/stricts/list' }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'groups',
|
|
|
+ name: 'GroupsMenu',
|
|
|
+ redirect: '/stricts',
|
|
|
component: () => import('@/views/index'),
|
|
|
- meta: { title: '咨询记录' },
|
|
|
+ meta: { title: '商品拼团' },
|
|
|
children: [
|
|
|
{
|
|
|
path: 'list',
|
|
|
- name: 'ConsultList',
|
|
|
- component: () => import('@/views/user/consult/list'),
|
|
|
- meta: { title: '用户咨询记录汇总' }
|
|
|
+ name: 'GroupsList',
|
|
|
+ component: () => import('@/views/stricts/groups/list'),
|
|
|
+ meta: { title: '拼团列表' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'unreg-list',
|
|
|
- name: 'UnregList',
|
|
|
- component: () => import('@/views/user/consult/unreg-list'),
|
|
|
- meta: { title: '未注册用户咨询记录' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'genre-list',
|
|
|
- name: 'GenreList',
|
|
|
- component: () => import('@/views/user/consult/genre-list'),
|
|
|
- meta: { title: '咨询类别设置' }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'report-list',
|
|
|
- name: 'ReportList',
|
|
|
- component: () => import('@/views/user/consult/report-list'),
|
|
|
- meta: { title: '报备列表' }
|
|
|
- },
|
|
|
+ path: 'groups-goods-list',
|
|
|
+ name: 'GroupsGoodsList',
|
|
|
+ component: () => import('@/views/stricts/groups/groups-goods-list'),
|
|
|
+ meta: { title: '商品列表' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'order',
|
|
|
+ name: 'OrderMenu',
|
|
|
+ redirect: '/stricts',
|
|
|
+ component: () => import('@/views/index'),
|
|
|
+ meta: { title: '订单管理' },
|
|
|
+ children: [
|
|
|
{
|
|
|
- path: 'detail',
|
|
|
- name: 'ConsultDetail',
|
|
|
- component: () => import('@/views/user/consult/detail'),
|
|
|
- meta: { title: '详情' },
|
|
|
- hidden: true
|
|
|
+ path: 'list',
|
|
|
+ name: 'OrderList',
|
|
|
+ component: () => import('@/views/stricts/order/list'),
|
|
|
+ meta: { title: '拼团列表' }
|
|
|
},
|
|
|
{
|
|
|
- path: 'unreg-detail',
|
|
|
- name: 'UnregDetail',
|
|
|
- component: () => import('@/views/user/consult/unreg-detail'),
|
|
|
- meta: { title: '信息详情' },
|
|
|
- hidden: true
|
|
|
+ path: 'refund-list',
|
|
|
+ name: 'RefundList',
|
|
|
+ component: () => import('@/views/stricts/order/refund-list'),
|
|
|
+ meta: { title: '退款管理' }
|
|
|
}
|
|
|
]
|
|
|
}
|