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.
338 lines
9.4 KiB
338 lines
9.4 KiB
/**
|
|
* 基础路由
|
|
* @type { *[] }
|
|
*/
|
|
export const constantRouterMap = [
|
|
{
|
|
path: '/',
|
|
name: 'home',
|
|
component: () => import('@/views/home'),
|
|
meta: { title: '首页', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/index1',
|
|
name: 'index1',
|
|
component: () => import('@/views/home2'),
|
|
meta: { title: '设备关闭', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/livingCircle',
|
|
name: 'livingCircle',
|
|
component: () => import('@/views/livingCircle'),
|
|
meta: { title: '生活圈', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/livingCircleDetail',
|
|
name: 'livingCircleDetail',
|
|
component: () => import('@/views/livingCircle/detail.vue'),
|
|
meta: { title: '生活圈详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/mine',
|
|
name: 'mine',
|
|
component: () => import('@/views/mine'),
|
|
meta: { title: '我的', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/login',
|
|
component: () => import('@/views/login'),
|
|
meta: { title: '登录', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/message',
|
|
name: 'message',
|
|
component: () => import('@/views/message'),
|
|
meta: { title: '消息', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/messages',
|
|
name: 'messages',
|
|
component: () => import('@/views/messages'),
|
|
meta: { title: '我的消息', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/event',
|
|
name: 'event',
|
|
component: () => import('@/views/event'),
|
|
meta: { title: '居民上报诉求', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/userInfo/:type',
|
|
name: 'userInfo',
|
|
component: () => import('@/views/userInfo'),
|
|
meta: { title: '', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/demand',
|
|
name: 'demand',
|
|
component: () => import('@/views/demand'),
|
|
meta: { title: '我有需求', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/appeal',
|
|
name: 'appeal',
|
|
component: () => import('@/views/appeal'),
|
|
meta: { title: '我上报的问题', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/appeal',
|
|
name: 'appeal',
|
|
component: () => import('@/views/appeal'),
|
|
meta: { title: '我提交的人民建议', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/appealDetail',
|
|
name: 'appealDetail',
|
|
component: () => import('@/views/appealDetail'),
|
|
meta: { title: '详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/register',
|
|
name: 'register',
|
|
component: () => import('@/views/register'),
|
|
meta: { title: '注册', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/errorPage',
|
|
name: 'errorPage',
|
|
component: () => import('@/views/errorPage'),
|
|
meta: { title: '错误', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/search',
|
|
name: 'search',
|
|
component: () => import('@/views/search'),
|
|
meta: { title: '搜索', keepAlive: false }
|
|
}, {
|
|
path: '/selectAgency',
|
|
name: 'selectAgency',
|
|
component: () => import('@/views/selectAgency'),
|
|
meta: { title: '选择所在社区', keepAlive: false }
|
|
}, {
|
|
path: '/houseQR',
|
|
name: 'houseQR',
|
|
component: () => import('@/views/houseQR'),
|
|
meta: { title: '电子门牌', keepAlive: false }
|
|
}, {
|
|
path: '/activity',
|
|
name: 'activity',
|
|
component: () => import('@/views/activity'),
|
|
meta: { title: '社区活动', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/discussion',
|
|
name: 'discussion',
|
|
component: () => import('@/views/discussion'),
|
|
meta: { title: '居民议事', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/servicePhone',
|
|
name: 'servicePhone',
|
|
component: () => import('@/views/servicePhone'),
|
|
meta: { title: '服务电话', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/activityDetail',
|
|
name: 'activityDetail',
|
|
component: () => import('@/views/activity/detail'),
|
|
meta: { title: '活动详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/peoSuggestion',
|
|
name: 'peoSuggestion',
|
|
component: () => import('@/views/peoSuggestion'),
|
|
meta: { title: '人民意见征集', keepAlive: false }
|
|
},
|
|
|
|
{
|
|
path: '/peoSuggestionexplain',
|
|
name: 'peoSuggestionexplain',
|
|
component: () => import('@/views/peoSuggestion/explain.vue'),
|
|
meta: { title: '征集说明', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/solicitationDaily',
|
|
name: 'solicitationDaily',
|
|
component: () => import('@/views/peoSuggestion/solicitationDaily.vue'),
|
|
meta: { title: '日常征集', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/specialTopicList',
|
|
name: 'specialTopicList',
|
|
component: () => import('@/views/peoSuggestion/specialTopicList.vue'),
|
|
meta: { title: '专题征集列表', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/SpecialsolicitationFill',
|
|
name: 'SpecialsolicitationFill',
|
|
component: () => import('@/views/peoSuggestion/SpecialsolicitationFill.vue'),
|
|
meta: { title: '专题征集', keepAlive: false }
|
|
},
|
|
// {
|
|
// path: '/SpecialsolicitationFill',
|
|
// name: 'SpecialsolicitationFill',
|
|
// component: () => import('@/views/peoSuggestion/SpecialsolicitationFill.vue'),
|
|
// meta: { title: '专题征集', keepAlive: false }
|
|
// },
|
|
{
|
|
path: '/goldenIdea',
|
|
name: 'goldenIdea',
|
|
component: () => import('@/views/peoSuggestion/goldenIdea.vue'),
|
|
meta: { title: '金点子列表', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/goldenIdeaDetail',
|
|
name: 'goldenIdeaDetail',
|
|
component: () => import('@/views/peoSuggestion/goldenIdeaDetail.vue'),
|
|
meta: { title: '金点子详情', keepAlive: false }
|
|
},
|
|
|
|
{
|
|
path: '/topicList',
|
|
name: 'topicList',
|
|
component: () => import('@/views/peoSuggestion/topicList.vue'),
|
|
meta: { title: '最新专题', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/topicListDetail',
|
|
name: 'topicListDetail',
|
|
component: () => import('@/views/peoSuggestion/topicListDetail.vue'),
|
|
meta: { title: '专题详情', keepAlive: false }
|
|
},
|
|
|
|
{
|
|
path: '/sing',
|
|
name: 'sing',
|
|
component: () => import('@/views/activity/sing'),
|
|
meta: { title: '', keepAlive: false }
|
|
},
|
|
|
|
{
|
|
path: '/discusionDetail',
|
|
name: 'discusionDetail',
|
|
component: () => import('@/views/discussion/discusionDetail'),
|
|
meta: { title: '议事详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/Enjoyableservices',
|
|
name: 'Enjoyableservices',
|
|
component: () => import('@/views/Enjoyableservices/index'),
|
|
meta: { title: '可享服务', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/detailServices',
|
|
name: 'detailServices',
|
|
component: () => import('@/views/Enjoyableservices/detail'),
|
|
meta: { title: '服务详情', keepAlive: false }
|
|
},{
|
|
path: '/communityPublicity',
|
|
name: 'communityPublicity',
|
|
component: () => import('@/views/communityPublicity'),
|
|
meta: { title: '社区讯息', keepAlive: false }
|
|
}
|
|
,{
|
|
path: '/serviceGuide',
|
|
name: 'serviceGuide',
|
|
component: () => import('@/views/serviceGuide'),
|
|
meta: { title: '办事指南', keepAlive: false }
|
|
}
|
|
,{
|
|
path: '/communityPublicityDetail',
|
|
name: 'communityPublicityDetail',
|
|
component: () => import('@/views/communityPublicity/detail'),
|
|
meta: { title: '详情', keepAlive: false }
|
|
},{
|
|
path: '/serviceGuideDetail',
|
|
name: 'serviceGuideDetail',
|
|
component: () => import('@/views/serviceGuide/detail'),
|
|
meta: { title: '办事详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/serviceList',
|
|
name: 'serviceList',
|
|
component: () => import('@/views/serviceList/index'),
|
|
meta: { title: '服务清单', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/reservationService',
|
|
name: 'reservationService',
|
|
component: () => import('@/views/serviceList/reservationService'),
|
|
meta: { title: '预约服务', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/mySatisfaction',
|
|
name: 'mySatisfaction',
|
|
component: () => import('@/views/mine/mySatisfaction'),
|
|
meta: { title: '我参与的满意度调查', keepAlive: false }
|
|
},{
|
|
path: '/myActivity',
|
|
name: 'myActivity',
|
|
component: () => import('@/views/mine/myActivity'),
|
|
meta: { title: '我参与的活动', keepAlive: false }
|
|
}
|
|
,{
|
|
path: '/Feedback',
|
|
name: 'Feedback',
|
|
component: () => import('@/views/mine/Feedback'),
|
|
meta: { title: '意见反馈', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/myService',
|
|
name: 'myService',
|
|
component: () => import('@/views/mine/myService'),
|
|
meta: { title: '意见反馈', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/integral',
|
|
name: 'integral',
|
|
component: () => import('@/views/mine/integral'),
|
|
meta: { title: '积分记录', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/dynamic',
|
|
name: 'dynamic',
|
|
component: () => import('@/views/dynamic'),
|
|
meta: { title: '动态详情', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/govAffairs',
|
|
name: 'govAffairs',
|
|
component: () => import('@/views/govAffairs'),
|
|
meta: { title: '政务办理', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/supervision',
|
|
name: 'supervision',
|
|
component: () => import('@/views/supervision'),
|
|
meta: { title: '民主监督', keepAlive: false }
|
|
},
|
|
{
|
|
path: '/employment',
|
|
name: 'employment',
|
|
component: () => import('@/views/employment'),
|
|
meta: { title: '就业服务', keepAlive: false }
|
|
},{
|
|
path: '/checklist',
|
|
name: 'communityPublicity',
|
|
component: () => import('@/views/communityPublicity'),
|
|
meta: { title: '一次办结清单', keepAlive: false }
|
|
},{
|
|
path: '/goodsQR',
|
|
name: 'goodsQR',
|
|
component: () => import('@/views/goodsQR'),
|
|
meta: { title: '物品详情', keepAlive: false }
|
|
},{
|
|
path: '/democratic',
|
|
name: 'democratic',
|
|
component: () => import('@/views/democratic'),
|
|
meta: { title: '民主选举', keepAlive: false }
|
|
},{
|
|
path: '/democraticDetail',
|
|
name: 'democraticDetail',
|
|
component: () => import('@/views/democratic/detail'),
|
|
meta: { title: '民主选举', keepAlive: false }
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|