莳松crm管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ss-crm-manage-web/src/router/modules/remaining.ts

273 lines
6.7 KiB

2 years ago
import { Layout } from '@/utils/routerHelper'
const { t } = useI18n()
/**
* redirect: noredirect noredirect
* name:'router-name' 使<keep-alive>
* meta : {
hidden: true true 404login等页面( false)
alwaysShow: true children 1
children
alwaysShow: true
( false)
title: 'title'
icon: 'svg-name'
noCache: true true <keep-alive> ( false)
breadcrumb: false falsebreadcrumb面包屑中显示( true)
affix: true truetag项中( false)
noTagsView: true truetag中( false)
activeMenu: '/dashboard'
followAuth: '/dashboard'
canTo: true true即使hidden为true( false)
}
**/
const remainingRouter: AppRouteRecordRaw[] = [
{
path: '/redirect',
component: Layout,
name: 'Redirect',
children: [
{
path: '/redirect/:path(.*)',
name: 'Redirect',
component: () => import('@/views/Redirect/Redirect.vue'),
meta: {}
}
],
meta: {
hidden: true,
noTagsView: true
}
},
2 years ago
{
8 months ago
path: '/',
2 years ago
component: Layout,
8 months ago
redirect: '/Home/index',
2 years ago
name: '',
2 years ago
meta: {
8 months ago
title: '首页',
hidden: true
3 months ago
}
2 months ago
// ,
// children: [
3 months ago
// {
// path: '/index',
// component: () => import('@/views/Basic/Menu/index.vue'),
// name: 'Home',
// meta: {
// title: '首页',
// icon: 'ep:home-filled',
// noTagsView: true,
// affix: true
// // hidden: true
// }
// }
// ]
2 years ago
},
2 years ago
{
path: '/swagger',
component: () => import('@/views/Basic/Swagger/index.vue'),
name: 'swagger',
meta: {
title: '接口文档',
noCache: true,
hidden: true,
canTo: true,
icon: ''
}
},
2 years ago
{
path: '/user',
component: Layout,
name: 'UserInfo',
meta: {
hidden: true
},
children: [
{
path: 'profile',
component: () => import('@/views/Profile/Index.vue'),
name: 'Profile',
meta: {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:user',
title: t('common.profile')
}
},
{
path: 'notify-message',
2 years ago
component: () => import('@/views/Profile/NotifyMessage.vue'),
name: 'NotifyMessage',
2 years ago
meta: {
canTo: true,
hidden: true,
noTagsView: false,
icon: 'ep:message',
title: '我的站内信'
}
}
]
},
2 years ago
// {
// path: '/dict',
// component: Layout,
// name: 'dict',
// meta: {
// hidden: true
// },
// children: [
// {
// path: 'type/data/:dictType',
// component: () => import('@/views/system/dict/data/index.vue'),
// name: 'SystemDictData',
// meta: {
// title: '字典数据',
// noCache: true,
// hidden: true,
// canTo: true,
// icon: '',
// activeMenu: '/system/dict'
// }
// }
// ]
// },
10 months ago
// {
// path: '/Basic',
// component: Layout,
// name: 'Basic',
// redirect: '/Basic/menu',
8 months ago
// meta: { title: '菜单管理' },
10 months ago
// children: [
// {
8 months ago
// path: 'menu',
10 months ago
// component: () => import('@/views/Basic/Menu/index.vue'),
// name: 'Menu',
// meta: {
// canTo: true,
// hidden: true,
// noTagsView: false,
// icon: 'ep:user',
// title: '菜单管理'
// }
// }
// ]
// },
3 months ago
{
path: '/clue-add',
name: 'ClueAdd',
component: () => import('@/views/Clue/Pool/ClueAdd.vue'),
meta: {
title: '线索录入',
hidden: true,
noTagsView: true
}
},
3 months ago
{
path: '/receive-input/:id',
name: 'ReceiveInput',
component: () => import('@/views/Clue/ReceiveInput/index.vue'),
meta: {
title: '接待信息录入',
hidden: true,
noTagsView: true,
permission: 'clue:receiveInput:index'
}
},
3 months ago
{
path: '/clue-enroll/:id',
name: 'ClueEnroll',
component: () => import('@/views/Clue/Pool/ClueEnroll.vue'),
meta: {
title: '学员报名登记',
hidden: true,
noTagsView: true,
permission: 'clue:pool:enroll'
}
},
2 years ago
{
path: '/login',
component: () => import('@/views/Login/Login.vue'),
name: 'Login',
meta: {
hidden: true,
title: t('router.login'),
noTagsView: true
}
},
1 year ago
{
path: '/mp-login',
component: () => import('@/views/Login/MPLogin.vue'),
name: 'MPLogin',
meta: {
hidden: true,
title: '用户绑定',
noTagsView: true
}
},
2 years ago
{
path: '/sso',
component: () => import('@/views/Login/Login.vue'),
name: 'SSOLogin',
meta: {
hidden: true,
title: t('router.login'),
noTagsView: true
}
},
1 year ago
{
path: '/nm-detail',
component: () => import('@/views/Profile/NotifyMessageDetail.vue'),
name: 'NMDetail',
meta: {
hidden: true,
title: '通知详情',
noTagsView: true
}
},
2 years ago
{
path: '/403',
component: () => import('@/views/Error/403.vue'),
name: 'NoAccess',
meta: {
hidden: true,
title: '403',
noTagsView: true
}
},
{
path: '/404',
component: () => import('@/views/Error/404.vue'),
name: 'NoFound',
meta: {
hidden: true,
title: '404',
noTagsView: true
}
},
{
path: '/500',
component: () => import('@/views/Error/500.vue'),
name: 'Error',
meta: {
hidden: true,
title: '500',
noTagsView: true
}
}
]
export default remainingRouter