123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721 |
- export default [
- // user
- {
- path: '/user',
- component: '../layouts/UserLayout',
- routes: [
- { path: '/user', redirect: '/user/login' },
- { path: '/user/login', component: './User/Login' },
- ],
- },
-
- // app
- {
- path: '/',
- component: '../layouts/BasicLayout',
- Routes: ['src/pages/CheckLogin'],
- routes: [
- { path: '/', redirect: '/sysset_home/basic' },
- //系统配置—首页管理
- {
- path: '/sysset_home',
- icon: 'home',
- name: 'home',
- routes: [
- //概况页
- {
- path: '/sysset_home/basic',
- name: 'basic',
- component: './sysset/home/basic',
- }],
- },
- //系统配置—基本配置
- {
- path: '/sysset_setting',
- icon: 'setting',
- name: 'setting',
- routes: [
- //站点配置
- {
- path: '/sysset_setting/site_info',
- name: 'site_info',
- component: './sysset/base/site_info',
- },
- //图片配置
- {
- path: '/sysset_setting/pic_set',
- name: 'pic_set',
- component: './sysset/base/pic_set',
- },
- //支付配置
- {
- path: '/sysset_setting/payment',
- name: 'payment',
- component: './sysset/base/payment',
- },
- //运营配置
- {
- path: '/sysset_setting/order',
- name: 'order',
- component: './sysset/base/order',
- },
- ],
- },
- //系统配置—通知管理
- {
- path: '/sysset_notice_set',
- icon: 'bell',
- name: 'notice_set',
- routes: [
- //短信配置
- {
- path: '/sysset_notice_set/sms',
- name: 'sms',
- component: './sysset/notice_set/sms',
- },
- //邮件配置
- {
- path: '/sysset_notice_set/email',
- name: 'email',
- component: './sysset/notice_set/email',
- },
- //消息模板
- {
- path: '/sysset_notice_set/msg_tpl',
- name: 'msg_tpl',
- component: './sysset/notice_set/msg_tpl',
- },
- ],
- },
- // 系统配置—三方账号
- {
- path: '/sysset_acount',
- icon: 'usergroup-add',
- name: 'acount',
- routes: [
- //授权配置
- {
- path: '/sysset_acount/union_login',
- name: 'union_login',
- component: './sysset/acount/union_login',
- },
- ],
- },
- //系统配置—权限管理
- {
- path: '/sysset_authority',
- icon: 'security-scan',
- name: 'authority',
- routes: [
- //权限组
- {
- path: '/sysset_authority/authority_group',
- name: 'authority_group',
- component: './sysset/authority/group',
- },
- //操作员管理
- {
- path: '/sysset_authority/authority_member',
- name: 'authority_member',
- component: './sysset/authority/member',
- },
- //操作日志
- {
- path: '/sysset_authority/operate_log',
- name: 'operate_log',
- component: './sysset/authority/operate_log',
- },
- ],
- },
- //系统配置-协议管理
- {
- path: '/sysset_agreement',
- icon: 'reconciliation',
- name: 'agreement',
- routes: [
- //协议管理
- {
- path: '/sysset_agreement/lists',
- name: 'lists',
- component: './sysset/agreement/lists',
- },
- //编辑协议
- {
- path: '/sysset_agreement/lists_to_edit',
- name: '',
- component: './sysset/agreement/edit',
- },
- ],
- },
- //系统配置—物流管理
- {
- path: '/sysset_express',
- icon: 'car',
- name: 'express',
- routes: [
- //物流公司
- {
- path: '/sysset_express/express_lists',
- name: 'express_lists',
- component: './sysset/express/express_lists',
- },
- //物流配置
- {
- path: '/sysset_express/express',
- name: 'express',
- component: './sysset/express/express',
- },
- ],
- },
- // 会员管理
- {
- path: '/manage_member',
- name: 'member',
- icon: 'usergroup-add',
- routes: [
- //会员列表
- {
- path: '/manage_member/lists',
- name: 'lists',
- component: './manage/member/lists',
- },
- //会员详情
- {
- path: '/manage_member/lists_to_detail',
- name: '',
- component: './manage/member/detail',
- },
- //充值管理
- {
- path: '/manage_member/recharge',
- name: 'recharge',
- component: './manage/member/recharge',
- },
- //资金明细
- {
- path: '/manage_member/balance_log',
- name: 'balance_log',
- component: './manage/member/balance_log',
- },
- //积分设置
- {
- path: '/manage_member/point_setting',
- name: 'point_setting',
- component: './manage/member/point_set',
- },
- ],
- },
- // 商品管理
- {
- path: '/manage_product',
- icon: 'appstore',
- name: 'product',
- routes: [
- //商品设置
- {
- path: '/manage_product/goods_setting',
- name: 'goods_setting',
- component: './manage/product/goods_setting',
- },
- //商品列表
- {
- path: '/manage_product/goods_list',
- name: 'goods_list',
- component: './manage/product/goods_list',
- },
- //分类管理
- {
- path: '/manage_product/cate_lists',
- name: 'cate_lists',
- component: './manage/product/cate_lists',
- },
- //品牌列表
- {
- path: '/manage_product/brand',
- name: 'brand',
- component: './manage/product/brand',
- },
- //属性管理
- {
- path: '/manage_product/search_attr',
- name: 'search_attr',
- component: './manage/product/search_attr',
- },
- //商品标签
- {
- path: '/manage_product/goods_label',
- name: 'goods_label',
- component: './manage/product/goods_label',
- },
- ],
- },
- // 首页装修
- {
- path: '/decorate_mhome',
- icon: 'mobile',
- name: 'decorate_mobile_home',
- routes: [
- // 首页装修
- {
- path: '/decorate_mhome/lists',
- name: 'lists',
- component: './mdecorate/lists',
- },
- // 装修页面
- {
- path: '/decorate_mhome/lists_to_diy',
- name: '',
- component: './mdecorate/edit_diy_page',
- },
- ],
- },
- // 专题装修
- {
- path: '/decorate_mtopic',
- icon: 'layout',
- name: 'decorate_mobile_topic',
- routes: [
- // 专题装修
- {
- path: '/decorate_mtopic/topic_lists',
- name: 'topic_lists',
- component: './mdecorate/topic_lists',
- },
- // 装修页面
- {
- path: '/decorate_mtopic/topic_lists_to_diy',
- name: '',
- component: './mdecorate/edit_diy_page',
- },
- ],
- },
- // 分类图片
- {
- path: '/decorate_mcat',
- icon: 'file-image',
- name: 'decorate_mobile_cat_img',
- routes: [
- // 分类图片
- {
- path: '/decorate_mcat/list',
- name: 'lists',
- component: './mdecorate/mcat',
- },
- ],
- },
- // 发现装修
- {
- path: '/decorate_information',
- icon: 'deployment-unit',
- name: 'decorate_mobile_information',
- routes: [
- // 发现首页
- {
- path: '/decorate_information/information',
- name: 'information',
- component: './mdecorate/information',
- },
- ],
- },
- // 店铺管理
- {
- path: '/manage_store',
- icon: 'shop',
- name: 'store',
- routes: [
- //自营店铺
- {
- path: '/manage_store/own_list',
- name: 'own_list',
- component: './manage/store/own_list',
- },
- //入驻店铺
- {
- path: '/manage_store/settle_store_list',
- name: 'settle_store_list',
- component: './manage/store/settle_store_list',
- },
- //入驻审核店铺详情
- {
- path: '/manage_store/settle_store_list_apply_detail',
- name: '',
- component: './manage/store/apply_store_detail',
- },
- //店铺入驻信息详情
- {
- path: '/manage_store/settle_store_list_view',
- name: '',
- component: './manage/store/settled_store_detail',
- },
- //编辑店铺入驻信息
- {
- path: '/manage_store/settle_store_list_to_edit',
- name: '',
- component: './manage/store/edit_settled_store',
- },
- //店铺等级
- {
- path: '/manage_store/grade_list',
- name: 'grade_list',
- component: './manage/store/grade_list',
- },
- ],
- },
- // 订单管理
- {
- path: '/manage_order',
- icon: 'form',
- name: 'order',
- routes: [
- //订单列表
- {
- path: '/manage_order/order_lists',
- name: 'order_lists',
- component: './manage/order/order_lists',
- },
- //订单详情
- {
- path: '/manage_order/order_lists_to_detail',
- name: '',
- component: './manage/order/order_detail',
- },
- //售后管理 pc 和 app 暂时禁用
- // {
- // path: '/manage_order/aftersales_lists',
- // name: 'aftersales_lists',
- // component: './manage/order/aftersales_lists',
- // },
- {
- path: '/manage_order/service',
- name: 'service',
- component: './manage/order/service',
- },
- //评价管理
- {
- path: '/manage_order/evaluation',
- name: 'evaluation',
- component: './manage/order/evaluation',
- },
- //售后原因
- {
- path: '/manage_order/salereson_lists',
- name: 'salereson_lists',
- component: './manage/order/salereson_lists',
- },
- ],
- },
- // 促销活动
- {
- path: '/bussset_promotion',
- icon: 'tag',
- name: 'promotion',
- routes: [
- //优惠券
- {
- path: '/bussset_promotion/coupon',
- name: 'coupon',
- component: './bussset/promotion/coupon/home',
- },
- //新建优惠券
- {
- path: '/bussset_promotion/coupon_to_add',
- name: '',
- component: './bussset/promotion/coupon/add_coupon',
- },
- //平台优惠券——查看优惠券
- {
- path: '/bussset_promotion/coupon_to_view',
- name: '',
- component: './bussset/promotion/coupon/view_coupon',
- },
- //平台优惠券——优惠券领取列表
- {
- path: '/bussset_promotion/coupon_to_receive_list',
- name: '',
- component: './bussset/promotion/coupon/member_receive_lists',
- },
- //店铺优惠券
- {
- path: '/bussset_promotion/store_coupon',
- name: 'store_coupon',
- component: './bussset/promotion/coupon/store_coupon',
- },
- //店铺优惠券——查看优惠券
- {
- path: '/bussset_promotion/store_coupon_to_view',
- name: '',
- component: './bussset/promotion/coupon/view_coupon',
- },
- //店铺优惠券——优惠券领取列表
- {
- path: '/bussset_promotion/store_coupon_to_receive_list',
- name: '',
- component: './bussset/promotion/coupon/member_receive_lists',
- },
- //满优惠列表
- {
- path: '/bussset_promotion/full_discount',
- name: 'full_discount',
- component: './bussset/promotion/full/discount',
- },
- //秒杀活动
- {
- path: '/bussset_promotion/seckill',
- name: 'seckill',
- component: './bussset/promotion/seckill/lists',
- },
- //秒杀活动详情——秒杀活动场次
- {
- path: '/bussset_promotion/seckill_detail',
- name: '',
- component: './bussset/promotion/seckill/detail',
- },
- //秒杀活动商品
- {
- path: '/bussset_promotion/seckill_goods_list',
- name: '',
- component: './bussset/promotion/seckill/seckill_goods_lists',
- },
- //拼团活动
- {
- path: '/bussset_promotion/spell_group',
- name: 'spell_group',
- component: './bussset/promotion/spell_group/lists',
- },
- //拼团活动——查看详情
- {
- path: '/bussset_promotion/spell_group_to_view',
- name: '',
- component: './bussset/promotion/spell_group/view_spell_group',
- },
- //拼团活动商品
- {
- path: '/bussset_promotion/spell_group_bind_goods',
- name: '',
- component: './bussset/promotion/spell_group/joined_goods_list',
- },
- //拼团活动订单
- {
- path: '/bussset_promotion/spell_group_order',
- name: '',
- component: './bussset/promotion/spell_group/order_lists',
- },
- //拼团活动订单详情
- {
- path: '/bussset_promotion/spell_group_order_to_detail',
- name: '',
- component: './manage/order/order_detail',
- },
- //拼团团队列表
- {
- path: '/bussset_promotion/spell_group_team_list',
- name: '',
- component: './bussset/promotion/spell_group/team_list',
- },
- //阶梯团活动
- {
- path: '/bussset_promotion/ladder_group',
- name: 'ladder_group',
- component: './bussset/promotion/ladder_group/lists',
- },
- //阶梯团活动——查看详情
- {
- path: '/bussset_promotion/ladder_group_to_view',
- name: '',
- component: './bussset/promotion/ladder_group/view_ladder_group',
- },
- //阶梯团活动——团队列表
- {
- path: '/bussset_promotion/ladder_group_team_list',
- name: '',
- component: './bussset/promotion/ladder_group/team_list',
- },
- //预售活动
- {
- path: '/bussset_promotion/presale',
- name: 'presale',
- component: './bussset/promotion/presale/lists',
- },
- //预售详情
- {
- path: '/bussset_promotion/presale_to_view',
- name: '',
- component: './bussset/promotion/presale/view_presale',
- },
- //预售活动商品
- {
- path: '/bussset_promotion/presale_goods_list',
- name: '',
- component: './bussset/promotion/presale/presale_goods_lists',
- },
- ],
- },
- // 签到管理
- {
- path: '/bussset_sign',
- icon: 'schedule',
- name: 'sign',
- routes: [
- //签到活动列表
- {
- path: '/bussset_sign/list',
- name: 'list',
- component: './bussset/sign/list',
- },
- //新建签到活动
- {
- path: '/bussset_sign/list_to_add',
- name: '',
- component: './bussset/sign/add',
- },
- //签到统计列表
- {
- path: '/bussset_sign/stat',
- name: 'stat',
- component: './bussset/sign/stat',
- },
- //会员签到统计详情
- {
- path: '/bussset_sign/stat_to_member_detail',
- name: '',
- component: './bussset/sign/member_stat_detail',
- },
- //活动签到详情
- {
- path: '/bussset_sign/stat_to_activity_detail',
- name: '',
- component: './bussset/sign/activity_stat_detail',
- },
- ]
- },
- // 结算管理
- {
- path: '/bussset_bill',
- icon: 'pay-circle',
- name: 'bill',
- routes: [
- //结算账单
- {
- path: '/bussset_bill/lists',
- name: 'lists',
- component: './bussset/bill/lists',
- },
- //结算账单详情
- {
- path: '/bussset_bill/lists_to_detail',
- name: '',
- component: './bussset/bill/detail',
- },
- ],
- },
-
-
- // 积分商城
- {
- path: '/point_m_diy',
- icon: 'home',
- name: 'point_m_diy',
- routes: [
- //积分商城——首页装修
- {
- path: '/point_m_diy/home',
- name: 'home',
- component: './point/mdiy/home',
- },
- // 装修页面
- {
- path: '/point_m_diy/home_to_edit',
- name: '',
- component: './point/mdiy/edit_diy_page',
- },
- ]
- },
- // 积分商城
- {
- path: '/point_setting',
- icon: 'star',
- name: 'point_setting',
- routes: [
- //积分商城——积分设置
- {
- path: '/point_setting/index',
- name: 'index',
- component: './point/setting',
- },
- ]
- },
- {
- path: '/point_label',
- icon: 'tag',
- name: 'point_label',
- routes: [
- //积分商城——标签管理
- {
- path: '/point_label/index',
- name: 'index',
- component: './point/label',
- },
- ]
- },
- {
- path: '/point_goods',
- icon: 'shopping',
- name: 'point_goods',
- routes: [
- //积分商城——商品管理
- {
- path: '/point_goods/list',
- name: 'list',
- component: './point/goods/goods_list',
- },
- ]
- },
- {
- path: '/point_order',
- icon: 'profile',
- name: 'point_order',
- routes: [
- //积分商城——订单管理
- {
- path: '/point_order/list',
- name: 'list',
- component: './point/order/order_lists',
- },
- //积分商城——订单详情
- {
- path: '/point_order/list_to_detail',
- name: '',
- component: './point/order/order_detail',
- },
- ]
- },
- {
- path: '/point_bill',
- icon: 'pay-circle',
- name: 'point_bill',
- routes: [
- //积分商城——结算管理
- {
- path: '/point_bill/list',
- name: 'list',
- component: './point/bill/lists',
- },
- //积分商城——结算详情
- {
- path: '/point_bill/list_to_detail',
- name: '',
- component: './point/bill/detail',
- },
- ]
- },
-
- {
- component: '404',
- },
- ],
- },
- ];
|