123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- import Vue from 'vue';
- import Router from 'vue-router';
- Vue.use(Router);
- export default new Router({
- mode: 'history',
- base: process.env.NODE_ENV === 'development' ? '' : 'liveadmin',
- routes: [
- {
- path: '/',
- redirect: '/homeIndex',
- },
- {
- path: '/',
- component: () => import('../components/common/Home.vue'),
- meta: { title: '自述文件' },
- children: [
- {
- path: '/homeIndex',
- component: () => import('../views/homeIndex.vue'),
- meta: { title: '系统首页' },
- },
- // 菜单管理
- {
- path: '/menu',
- component: () => import('../views/menu/index.vue'),
- meta: { title: '菜单管理' },
- },
- // 审核申请书
- {
- path: '/adminExamine',
- component: () => import('../views/adminCenter/adminExamine/index.vue'),
- meta: { title: '审核申请书' },
- },
- {
- path: '/adminExamine/detail',
- component: () => import('../views/adminCenter/adminExamine/detail.vue'),
- meta: { title: '资料审核' },
- },
- // 专家评分
- {
- path: '/adminScore',
- component: () => import('../views/adminCenter/adminScore/index.vue'),
- meta: { title: '专家评分' },
- },
- {
- path: '/adminScore/detail',
- component: () => import('../views/adminCenter/adminScore/detail.vue'),
- meta: { title: '专家评分查看' },
- },
- // 专家会审
- {
- path: '/adminMeet',
- component: () => import('../views/adminCenter/adminMeet/index.vue'),
- meta: { title: '专家会审' },
- },
- {
- path: '/adminMeet/detail',
- component: () => import('../views/adminCenter/adminMeet/detail.vue'),
- meta: { title: '专家会审记录' },
- },
- {
- path: '/adminMeet/expert',
- component: () => import('../views/adminCenter/adminMeet/expert.vue'),
- meta: { title: '会审专家管理' },
- },
- // 完善资料
- {
- path: '/adminPerfect',
- component: () => import('../views/adminCenter/adminPerfect/index.vue'),
- meta: { title: '完善资料' },
- },
- {
- path: '/adminPerfect/detail',
- component: () => import('../views/adminCenter/adminPerfect/detail.vue'),
- meta: { title: '资料查看' },
- },
- // 证书发放
- {
- path: '/adminCate',
- component: () => import('../views/adminCenter/adminCate/index.vue'),
- meta: { title: '证书发放' },
- },
- // 已证书发放
- {
- path: '/adminHaveCert',
- component: () => import('../views/adminCenter/adminHaveCert/index.vue'),
- meta: { title: '已证书发放' },
- },
- // 用户中心
- // 申请书
- {
- path: '/firstApply',
- component: () => import('../views/userCenter/userExamine/firstApply.vue'),
- meta: { title: '待审中' },
- },
- {
- path: '/updateApply',
- component: () => import('../views/userCenter/userExamine/updateApply.vue'),
- meta: { title: '审核未通过' },
- },
- {
- path: '/userExamine/detail',
- component: () => import('../views/userCenter/userExamine/detail.vue'),
- meta: { title: '审核意见查看' },
- },
- {
- path: '/userExamine/update',
- component: () => import('../views/userCenter/userExamine/update.vue'),
- meta: { title: '修改申请书' },
- },
- // 评分总结
- {
- path: '/expertExam',
- component: () => import('../views/userCenter/userScore/expertExam.vue'),
- meta: { title: '待专家评分' },
- },
- ],
- },
- {
- path: '/login',
- component: () => import('../views/Login.vue'),
- meta: { title: '登录' },
- },
- // 用戶申报
- {
- path: '/userDeclare',
- component: () => import('../views/userDeclare/index.vue'),
- meta: { title: '用户申报' },
- },
- {
- path: '*',
- redirect: '/404',
- },
- ],
- });
|