| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651 |
- // +---------------------------------------------------------------------
- // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
- // +---------------------------------------------------------------------
- // | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
- // +---------------------------------------------------------------------
- // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
- // +---------------------------------------------------------------------
- // | Author: CRMEB Team <admin@crmeb.com>
- // +---------------------------------------------------------------------
- import LayoutMain from '@/layout';
- import setting from '@/setting';
- let routePre = setting.routePre;
- const meta = {
- auth: true,
- };
- const pre = 'setting_';
- export default {
- path: routePre + '/setting',
- name: 'setting',
- header: 'setting',
- redirect: {
- name: `${pre}setSystem`,
- },
- component: LayoutMain,
- children: [{
- path: 'system_role/index',
- name: `${pre}systemRole`,
- meta: {
- auth: ['setting-system-role'],
- title: '身份管理',
- },
- component: () => import('@/pages/setting/systemRole/index'),
- },
- {
- path: 'system_admin/index',
- name: `${pre}systemAdmin`,
- meta: {
- auth: ['setting-system-list'],
- title: '管理员列表',
- },
- component: () => import('@/pages/setting/systemAdmin/index'),
- },
- {
- path: 'system_menus/index',
- name: `${pre}systemMenus`,
- meta: {
- auth: ['setting-system-menus'],
- title: '权限规则',
- },
- component: () => import('@/pages/setting/systemMenus/index'),
- },
- {
- path: 'system_config',
- name: `${pre}setSystem`,
- meta: {
- auth: ['setting-system-config'],
- title: '系统设置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'system_config/:type?/:tab_id?',
- name: `${pre}setApp`,
- meta: {
- title: '应用设置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'system_config_retail/:type?/:tab_id?',
- name: `${pre}distributionSet`,
- meta: {
- ...meta,
- title: '分销配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'membership_level/index',
- name: `${pre}membershipLevel`,
- meta: {
- ...meta,
- title: '分销等级',
- },
- component: () => import('@/pages/setting/membershipLevel/index'),
- },
- {
- path: 'system_config_message/:type?/:tab_id?',
- name: `${pre}message`,
- meta: {
- auth: ['setting-system-config-message'],
- title: '短信开关',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'notification/index',
- name: `${pre}notification`,
- meta: {
- auth: ['setting-notification'],
- title: '消息管理',
- },
- component: () => import('@/pages/setting/notification/index'),
- },
- {
- path: 'notification/notificationEdit',
- name: `${pre}notificationEdit`,
- meta: {
- auth: ['setting-notification'],
- title: '消息编辑',
- },
- component: () => import('@/pages/setting/notification/notificationEdit'),
- },
- {
- path: 'system_config_logistics/:type?/:tab_id?',
- name: `${pre}logistics`,
- meta: {
- auth: ['setting-system-config-logistics'],
- title: '物流配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'sms/sms_config/index',
- name: `${pre}config`,
- meta: {
- auth: ['setting-sms-sms-config'],
- title: '一号通账户',
- },
- component: () => import('@/pages/notify/smsConfig/index'),
- },
- {
- path: 'sms/sms_template_apply/index',
- name: `${pre}smsTemplateApply`,
- meta: {
- auth: ['setting-sms-config-template'],
- title: '短信模板',
- },
- component: () => import('@/pages/notify/smsTemplateApply/index'),
- },
- {
- path: 'sms/sms_pay/index',
- name: `${pre}smsPay`,
- meta: {
- auth: ['setting-sms-sms-template'],
- title: '短信购买',
- },
- component: () => import('@/pages/notify/smsPay/index'),
- },
- {
- path: 'sms/sms_template_apply/commons',
- name: `${pre}commons`,
- meta: {
- ...meta,
- title: '公共短信模板',
- },
- component: () => import('@/pages/notify/smsTemplateApply/index'),
- },
- {
- path: 'system_group_data/index/:id',
- name: `${pre}groupDataIndex`,
- meta: {
- auth: ['setting-system-group_data-index'],
- title: '首页导航按钮',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/slide/:id',
- name: `${pre}groupDataSlide`,
- meta: {
- auth: ['setting-system-group_data-slide'],
- title: '首页幻灯片',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/sign/:id',
- name: `${pre}groupDataSign`,
- meta: {
- auth: ['setting-system-group_data-sign'],
- title: '签到天数配置',
- },
- component: () => import('@/pages/system/group/list'),
- },
- // {
- // path: 'system_group_data/order/:id',
- // name: `${pre}groupDataOrder`,
- // meta: {
- // auth: ['setting-system-group_data-order'],
- // title: '订单详情动态图'
- // },
- // component: () => import('@/pages/system/group/list')
- // },
- // {
- // path: 'system_group_data/user/:id',
- // name: `${pre}groupDataUser`,
- // meta: {
- // auth: ['setting-system-group_data-user'],
- // title: '个人中心菜单'
- // },
- // component: () => import('@/pages/system/group/list')
- // },
- {
- path: 'system_group_data/new/:id',
- name: `${pre}groupDataNew`,
- meta: {
- auth: ['setting-system-group_data-new'],
- title: '首页滚动新闻',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/search/:id',
- name: `${pre}groupDataNew`,
- meta: {
- auth: ['setting-system-group_data-search'],
- title: '热门搜索',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/hot/:id',
- name: `${pre}groupDataHot`,
- meta: {
- auth: ['setting-system-group_data-hot'],
- title: '热门榜单推荐',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/new_product/:id',
- name: `${pre}groupDataNewProduct`,
- meta: {
- auth: ['setting-system-group_data-new_product'],
- title: '首发新品推荐',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/promotion/:id',
- name: `${pre}groupDataPromotion`,
- meta: {
- auth: ['setting-system-group_data-promotion'],
- title: '促销单品推荐',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/poster/:id',
- name: `${pre}groupDataPoster`,
- meta: {
- auth: ['setting-system-group_data-poster'],
- title: '个人中心分销海报',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/best/:id',
- name: `${pre}groupDataBest`,
- meta: {
- auth: ['setting-system-group_data-best'],
- title: '精品推荐',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/activity/:id',
- name: `${pre}groupDataActivity`,
- meta: {
- auth: ['setting-system-group_data-activity'],
- title: '首页活动区域图片',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/system/:id',
- name: `${pre}groupDataSystem`,
- meta: {
- auth: ['setting-system-group_data-system'],
- title: '首页配置',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_group_data/hot_money/:id',
- name: `${pre}groupDataHotMoney`,
- meta: {
- auth: ['admin-setting-system_group_data-hot_money'],
- title: '首页超值爆款',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'merchant/system_store/index',
- name: `${pre}systemStore`,
- meta: {
- auth: ['setting-system-config-merchant'],
- title: '门店设置',
- },
- component: () => import('@/pages/setting/systemStore/index'),
- },
- {
- path: 'freight/express/index',
- name: `${pre}freight`,
- meta: {
- auth: ['setting-freight-express'],
- title: '物流公司',
- },
- component: () => import('@/pages/setting/freight/index'),
- },
- {
- path: 'store_service/index',
- name: `${pre}service`,
- meta: {
- auth: ['setting-store-service'],
- title: '客服管理',
- },
- component: () => import('@/pages/setting/storeService/index'),
- },
- {
- path: 'freight/city/list',
- name: `${pre}dada`,
- meta: {
- auth: ['setting-system-city'],
- title: '城市数据',
- },
- component: () => import('@/pages/setting/cityDada/index'),
- },
- {
- path: 'freight/shipping_templates/list',
- name: `${pre}templates`,
- meta: {
- auth: ['setting-shipping-templates'],
- title: '运费模板',
- },
- component: () => import('@/pages/setting/shippingTemplates/index'),
- },
- {
- path: 'merchant/system_store/list',
- name: `${pre}store`,
- meta: {
- auth: ['setting-merchant-system-store'],
- title: '提货点',
- },
- component: () => import('@/pages/setting/storeList/index'),
- },
- {
- path: 'merchant/system_store_staff/index',
- name: `${pre}staff`,
- meta: {
- auth: ['setting-merchant-system-store-staff'],
- title: '核销员',
- },
- component: () => import('@/pages/setting/clerkList/index'),
- },
- {
- path: 'merchant/system_verify_order/index',
- name: `${pre}order`,
- meta: {
- auth: ['setting-merchant-system-verify-order'],
- title: '核销订单',
- },
- component: () => import('@/pages/setting/verifyOrder/index'),
- },
- {
- path: 'theme_style',
- name: `${pre}themeStyle`,
- meta: {
- auth: ['admin-setting-theme_style'],
- title: '主题风格',
- },
- component: () => import('@/pages/setting/themeStyle/index'),
- },
- {
- path: 'pages',
- name: `${pre}page`,
- header: 'setting',
- redirect: {
- name: `${pre}devise`,
- },
- },
- {
- path: 'pages/devise',
- name: `${pre}devise`,
- meta: {
- auth: ['admin-setting-pages-devise'],
- title: '店铺装修',
- },
- component: () => import('@/pages/setting/devise/list'),
- },
- {
- path: 'pages/diy',
- name: `${pre}diy`,
- meta: {
- auth: ['admin-setting-pages-diy'],
- title: '页面设计',
- activeMenu: routePre + '/setting/pages/devise',
- },
- component: () => import('@/pages/setting/devisePage/index'),
- },
- {
- path: 'pages/diy_index',
- name: `${pre}index_diy`,
- meta: {
- auth: ['admin-setting-pages-diy'],
- title: '首页设计',
- fullScreen: true, //是否全屏显示main区域
- },
- component: () => import('@/pages/setting/devise/diyIndex'),
- },
- {
- path: 'pages/links',
- name: `${pre}links`,
- meta: {
- auth: ['admin-setting-pages-links'],
- title: '页面链接',
- },
- component: () => import('@/pages/setting/devise/links'),
- },
- {
- path: 'store_service/speechcraft',
- name: `${pre}speechcraft`,
- meta: {
- auth: ['admin-setting-store_service-speechcraft'],
- title: '客服话术',
- },
- component: () => import('@/pages/setting/storeService/speechcraft'),
- },
- {
- path: 'store_service/feedback',
- name: `${pre}feedback`,
- meta: {
- auth: ['admin-setting-store_service-feedback'],
- title: '用户留言',
- },
- component: () => import('@/pages/setting/storeService/feedback'),
- },
- {
- path: 'system_group_data/pc/:id',
- name: `${pre}groupDataPc`,
- meta: {
- auth: ['setting-system-group_data-pc'],
- title: 'PC主页轮播',
- },
- component: () => import('@/pages/system/group/list'),
- },
- {
- path: 'system_config_member_right/:type?/:tab_id?',
- name: `${pre}right`,
- meta: {
- auth: ['setting-system-config-member-right'],
- title: '会员权益',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'delivery_service/index',
- name: `${pre}deliveryService`,
- meta: {
- auth: ['setting-delivery-service'],
- title: '配送员列表',
- },
- component: () => import('@/pages/setting/deliveryService/index'),
- },
- {
- path: 'pc_group_data',
- name: `${pre}systemGroupData`,
- meta: {
- auth: ['setting-system-pc_data'],
- title: 'PC商城',
- },
- component: () => import('@/pages/system/group/pc'),
- },
- {
- path: 'system_visualization_data',
- name: `${pre}systemGroupData`,
- meta: {
- auth: ['admin-setting-system_visualization_data'],
- title: '数据配置',
- },
- component: () => import('@/pages/system/group/visualization'),
- },
- {
- path: 'storage',
- name: `${pre}storage`,
- meta: {
- auth: ['setting-storage'],
- title: '储存配置',
- },
- component: () => import('@/pages/setting/storage'),
- },
- {
- path: 'wechat_config/:type?/:tab_id?',
- name: `${pre}wechat_config`,
- meta: {
- ...meta,
- title: '公众号配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'routine_config/:type?/:tab_id?',
- name: `${pre}routine_config`,
- meta: {
- ...meta,
- title: '小程序配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'app_config/:type?/:tab_id?',
- name: `${pre}app_config`,
- meta: {
- ...meta,
- title: 'app配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'pc_config/:type?/:tab_id?',
- name: `${pre}pc_config`,
- meta: {
- ...meta,
- title: 'PC配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'other_config/print/:type?/:tab_id?',
- name: `${pre}other_print`,
- meta: {
- auth: ['setting-other-print'],
- title: '小票打印配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'other_config/copy/:type?/:tab_id?',
- name: `${pre}other_copy`,
- meta: {
- auth: ['setting-other-copy'],
- title: '商品采集配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'other_config/logistics/:type?/:tab_id?',
- name: `${pre}other_logistics`,
- meta: {
- auth: ['setting-other-logistics'],
- title: '物流查询配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'other_config/electronic/:type?/:tab_id?',
- name: `${pre}other_electronic`,
- meta: {
- auth: ['setting-other-electronic'],
- title: '电子面单配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'other_config/sms/:type?/:tab_id?',
- name: `${pre}other_sms`,
- meta: {
- auth: ['setting-other-sms'],
- title: '短信功能配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'other_config/pay/:type?/:tab_id?',
- name: `${pre}other_pay`,
- meta: {
- auth: ['setting-other-sms'],
- title: '商城支付配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'agreement',
- name: `${pre}notification`,
- meta: {
- auth: ['setting-agreement'],
- title: '协议设置',
- },
- component: () => import('@/pages/setting/agreement/index'),
- },
- {
- path: 'other_config/out/:type?/:tab_id?',
- name: `${pre}other_print`,
- meta: {
- auth: ['setting-other-out'],
- title: '对外接口配置',
- },
- component: () => import('@/pages/setting/setSystem/index'),
- },
- {
- path: 'system_out_account/index',
- name: `${pre}systemOutAccount`,
- meta: {
- auth: ['setting-system-out-account-index'],
- title: '账号列表',
- },
- component: () => import('@/pages/setting/systemOutAccount/index'),
- },
- {
- path: 'system_out_interface/index',
- name: `${pre}systemOutAccount`,
- meta: {
- auth: ['setting-system-out-interface-index'],
- title: '接口文档',
- },
- component: () => import('@/pages/setting/systemOutInterface/index'),
- },
- {
- path: 'lang/list',
- name: `${pre}langList`,
- meta: {
- auth: ['admin-lang-list'],
- title: '语言列表',
- },
- component: () => import('@/pages/setting/multiLanguage/list'),
- },
- {
- path: 'lang/info',
- name: `${pre}langInfo`,
- meta: {
- auth: ['admin-lang-info'],
- title: '语言详情',
- },
- component: () => import('@/pages/setting/multiLanguage/langList'),
- },
- {
- path: 'lang/country',
- name: `${pre}langCountry`,
- meta: {
- auth: ['admin-lang-country'],
- title: '地区关联语言',
- },
- component: () => import('@/pages/setting/multiLanguage/country'),
- },
- ],
- };
|