208 lines
5.7 KiB
TypeScript
Raw Normal View History

2024-07-30 18:16:05 +08:00
import {ViewModuleIcon, UsergroupIcon, ViewListIcon, ChartBubbleIcon, HomeIcon, HelpIcon,UserAvatarIcon} from 'tdesign-icons-vue';
2024-07-09 18:07:55 +08:00
import Layout from '@/layouts/index.vue';
export default [
{
path: '/user',
name: 'user',
component: Layout,
redirect: '/user/user_index',
meta: {title: '会员管理', icon: UsergroupIcon},
children: [
{
path: 'user_index',
name: 'userIndex',
component: () => import('@/pages/user/user_index.vue'),
meta: {title: '会员列表'},
},
{
path: 'plan',
name: 'userPlan',
component: () => import('@/pages/user/user_plan.vue'),
meta: {title: '职位管理'},
},
{
path: 'line',
name: 'userLine',
component: () => import('@/pages/user/user_line.vue'),
meta: {title: '行业管理'},
},
{
path: 'region',
name: 'userRegion',
component: () => import('@/pages/user/user_region.vue'),
meta: {title: '区域管理'},
},
{
path: 'user_info',
name: 'userInfo',
component: () => import('@/pages/user/user_info.vue'),
meta: {title: '会员详情', hidden: true},
},
{
path: 'user_edit',
name: 'userEdit',
component: () => import('@/pages/user/user_edit.vue'),
meta: {title: '会员编辑', hidden: true},
},
{
path: 'user_add',
name: 'userAdd',
component: () => import('@/pages/user/user_add.vue'),
meta: {title: '新增会员', hidden: true},
},
{
path: 'user_invoice',
name: 'userInvoice',
component: () => import('@/pages/user/user_invoice.vue'),
meta: {title: '会员发票管理'},
},
2024-08-16 18:17:40 +08:00
// {
// path: 'user_edit_shen',
// name: 'userEditShen',
// component: () => import('@/pages/user/user_edit_shen.vue'),
// meta: {title: '编辑信息审核'},
// },
2024-07-09 18:07:55 +08:00
],
},
{
path: '/activity',
name: 'activity',
component: Layout,
redirect: '/activity/index',
meta: {title: '活动管理', icon: ChartBubbleIcon},
children: [
{
path: 'activity_index',
name: 'activityIndex',
component: () => import('@/pages/activity/activity_index.vue'),
meta: {title: '活动列表'},
},
{
path: 'activity_top',
name: 'activityTop',
component: () => import('@/pages/activity/activity_top.vue'),
meta: {title: '活动首页置顶'},
}
],
},
2024-07-30 18:16:05 +08:00
{
path: '/tweets',
name: 'tweets',
component: Layout,
redirect: '/tweets/index',
meta: {title: '青企圈', icon: UserAvatarIcon},
children: [
{
path: 'index',
name: 'tweetsIndex',
component: () => import('@/pages/tweets/index.vue'),
meta: {title: '内容列表'},
2024-08-19 18:14:28 +08:00
}, {
path: 'pl_index',
name: 'tweetsPlIndex',
component: () => import('@/pages/tweets/pl_index.vue'),
meta: {title: '评论列表'},
2024-07-30 18:16:05 +08:00
},
],
},
2024-07-09 18:07:55 +08:00
{
path: '/news',
name: 'news',
component: Layout,
redirect: '/news/news_index',
meta: {title: '新闻文章', icon: ViewListIcon},
children: [
2024-07-30 18:16:05 +08:00
// {
// path: 'wechat_index',
// name: 'wechatIndex',
// component: () => import('@/pages/news/wechat_index.vue'),
// meta: {title: '公众号内容管理'},
// },
2024-07-09 18:07:55 +08:00
{
path: 'news_index',
name: 'newsIndex',
component: () => import('@/pages/news/news_index.vue'),
meta: {title: '新闻内容管理'},
},
{
path: 'news_type',
name: 'newsType',
component: () => import('@/pages/news/news_type.vue'),
meta: {title: '新闻类目管理'},
}
],
}, {
path: '/association',
name: 'association',
component: Layout,
redirect: '/association/index',
meta: {title: '协会管理', icon: HomeIcon},
children: [
{
path: 'person ',
name: 'associationPerson',
component: () => import('@/pages/association/person.vue'),
meta: {title: '管理员'},
},
{
path: 'carousel ',
name: 'associationCarousel',
component: () => import('@/pages/association/carousel.vue'),
meta: {title: '轮播图'},
},
{
path: 'opinion',
name: 'associationOpinion',
component: () => import('@/pages/association/opinion.vue'),
meta: {title: '意见反馈'},
},
{
path: 'index',
name: 'associationIndex',
component: () => import('@/pages/association/index.vue'),
meta: {title: '关于我们'},
},
2024-08-16 18:17:40 +08:00
// {
// path: 'system',
// name: 'systemIndex',
// component: () => import('@/pages/association/system.vue'),
// meta: {title: '系统设置'},
// }
2024-07-09 18:07:55 +08:00
],
2024-09-12 18:15:58 +08:00
}, {
path: '/pc',
name: 'pc',
component: Layout,
meta: {title: '官网内容管理', icon: HomeIcon},
children: [
{
path: 'pc_news_type',
name: 'pcNewsType',
component: () => import('@/pages/pc/pc_news_type.vue'),
meta: {title: '新闻分类'},
},
{
path: 'pc_news',
name: 'pcNews',
component: () => import('@/pages/pc/pc_news.vue'),
meta: {title: '新闻列表'},
},
{
path: 'pc_swiper',
name: 'pcSwiper',
component: () => import('@/pages/pc/pc_swiper.vue'),
meta: {title: '轮播管理'},
},
{
path: 'pc_message',
name: 'pcSwiper',
component: () => import('@/pages/pc/pc_message.vue'),
meta: {title: '留言管理'},
},
],
2024-07-09 18:07:55 +08:00
}
];