Files
huangjingfen/pro_v3.5.1/view/admin/src/router/modules/system.js

182 lines
5.9 KiB
JavaScript
Raw Normal View History

// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import BasicLayout from '@/layouts/basic-layout';
const pre = 'system_';
export default {
path: '/admin/system',
name: 'system',
header: 'system',
// redirect: {
// name: `${pre}configTab`
// },
meta: {
auth: ['admin-system']
},
component: BasicLayout,
children: [
{
path: 'file',
name: `${pre}file`,
meta: {
auth: ['system-file'],
title: '附件管理'
},
component: () => import('@/pages/system/file/index')
},
{
path: 'maintain/clear/index',
name: `${pre}clear`,
meta: {
auth: ['system-clear'],
title: '刷新缓存'
},
component: () => import('@/pages/system/clear/index')
},
{
path: 'system_upgradeclient/index',
name: `${pre}systemUpgradeclient`,
meta: {
auth: ['system-system-upgradeclient'],
title: '在线升级'
},
component: () => import('@/pages/system/systemUpgradeclient/index')
},
{
path: 'maintain/system_log/index',
name: `${pre}systemLog`,
meta: {
auth: ['system-maintain-system-log'],
title: '系统日志'
},
component: () => import('@/pages/system/maintain/systemLog/index')
},
{
path: 'maintain/system_file/index',
name: `${pre}systemFile`,
meta: {
auth: ['system-maintain-system-file'],
title: '文件校验'
},
component: () => import('@/pages/system/maintain/systemFile/index')
},
{
path: 'maintain/system_cleardata/index',
name: `${pre}systemCleardata`,
meta: {
auth: ['system-maintain-system-cleardata'],
title: '清除数据'
},
component: () => import('@/pages/system/maintain/systemCleardata/index')
},
{
path: 'maintain/system_databackup/index',
name: `${pre}systemDatabackup`,
meta: {
auth: ['system-maintain-system-databackup'],
title: '数据备份'
},
component: () => import('@/pages/system/maintain/systemDatabackup/index')
},
{
path: 'maintain/system_file/opendir',
name: `${pre}opendir`,
meta: {
auth: ['system-maintain-system-file'],
title: '文件管理'
},
component: () => import('@/pages/system/maintain/systemFile/opendir')
},
{
path: 'config/system_config_tab/index',
name: `${pre}configTab`,
meta: {
auth: ['system-config-system_config-tab'],
title: '配置分类'
},
component: () => import('@/pages/system/configTab/index')
},
{
path: 'config/system_config_tab/list/:id?',
name: `${pre}configTabList`,
meta: {
auth: ['system-config-system_config_tab-list'],
title: '配置列表'
},
component: () => import('@/pages/system/configTab/list')
},
{
path: 'config/system_group/index',
name: `${pre}group`,
meta: {
auth: ['system-config-system_config-group'],
title: '组合数据'
},
component: () => import('@/pages/system/group/index')
},
{
path: 'config/system_group/list/:id?',
name: `${pre}groupList`,
meta: {
auth: ['system-config-system_config-list'],
title: '充值金额配置'
},
component: () => import('@/pages/system/group/list')
},
{
path: 'maintain/auth',
name: `${pre}auth`,
meta: {
auth: ['system-maintain-auth'],
title: '商业授权'
},
component: () => import('@/pages/system/auth/index')
},
{
path: '/admin/out',
name: `out`,
meta: {
auth: ['admin-out'],
title: '对外接口'
},
component: () => import('@/pages/system/out/index')
},
{
path: '/admin/out_interface',
name: `out_interface`,
meta: {
auth: ['admin-out-interface'],
title: '接口文档'
},
component: () => import('@/pages/system/out/interface')
},
{
path: 'crontab',
name: `${pre}crontab`,
meta: {
auth: ['system-crontab-index'],
title: '定时任务'
},
component: () => import('@/pages/system/crontab/index')
},
{
path: 'crontab/create/:id?',
name: `${pre}crontab_create`,
meta: {
auth: ['system-crontab-create'],
title: '添加定时任务'
},
component: () => import('@/pages/system/crontab/create')
}
]
};