|
@@ -13,639 +13,640 @@ import setting from '@/setting';
|
|
|
let routePre = setting.routePre;
|
|
|
|
|
|
const meta = {
|
|
|
- auth: true,
|
|
|
+ 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/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,
|
|
|
- },
|
|
|
- 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'),
|
|
|
- },
|
|
|
- ],
|
|
|
-};
|
|
|
+ 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/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,
|
|
|
+ },
|
|
|
+ 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'),
|
|
|
+ },
|
|
|
+ ],
|
|
|
+};
|