router.config.js 3.69 KB
Newer Older
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
/**
 * 路由配置
 */
export default [
  {
    path: '/user',
    key: '1',
    component: '../layouts/UserLayout',
    routes: [
      {
        key: '11',
        name: 'sign-up',
        path: '/user/sign-up',
        component: './user/signUp',
      },
    ],
  },
  {
    path: '/demo',
    key: '2',
    component: '../layouts/BlankLayout',
    routes: [
      {
        key: '22',
        path: '/demo',
        component: './demo',
      },
    ],
  },
  {
    path: '/',
    key: '3',
    component: '../layouts/SecurityLayout',
    routes: [
      {
        key: '31',
        component: '../layouts/BasicLayout',
        routes: [
          {
            key: '311',
            path: '/exam',
            // isFull: true, 全屏显示
            component: './exam',
          },
          {
            key: '312',
            path: '/video',
            component: './video',
          },
          {
            key: '313',
            path: '/profile',
            component: './profile',
          },
          {
            key: '314',
            path: '/exam/hospitalFinalExam',
            // isFull: true, 全屏显示
            component: './exam/hospitalFinalExam',
          },
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
61 62
          {
            key: '315',
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
63
            path: '/exam/question/list',
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
64
            isFull: true,
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
65 66
            component: './exam/question/list',
          },
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
67 68 69
          {
            key: '316',
            path: '/exam/question/single',
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
70
            isFull: true,
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
71 72
            component: './exam/question/single',
          },
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
          {
            key: '316',
            path: '/exam/question/multiple',
            isFull: true,
            component: './exam/question/multiple',
          },
          {
            key: '316',
            path: '/exam/question/judgment',
            isFull: true,
            component: './exam/question/judgment',
          },
          {
            key: '316',
            path: '/exam/question/completion',
            isFull: true,
            component: './exam/question/completion',
          },
          {
            key: '316',
            path: '/exam/question/short',
            isFull: true,
            component: './exam/question/short',
          },
          {
            key: '316',
            path: '/exam/question/caseChoice',
            isFull: true,
            component: './exam/question/caseChoice',
          },
          {
            key: '316',
            path: '/exam/question/caseMultiple',
            isFull: true,
            component: './exam/question/caseMultiple',
          },
          {
            key: '316',
            path: '/exam/question/b1',
            isFull: true,
            component: './exam/question/b1',
          },
          {
            key: '316',
            path: '/exam/question/argumentation',
            isFull: true,
            component: './exam/question/argumentation',
          },
          {
            key: '316',
            path: '/exam/question/analytical',
            isFull: true,
            component: './exam/question/analytical',
          },
          {
            key: '317',
            path: '/exam/question/submit/analysis/:type',
            isFull: true,
            component: './exam/question/submitAnalysis',
          },
          {
            key: '317',
            path: '/profile/notice',
            isFull: true,
            component: './profile/notice',
          },
          {
            key: '317',
            path: '/profile/order',
            isFull: true,
            component: './profile/order',
          },
duanledexianxianxian's avatar
sync  
duanledexianxianxian committed
145 146 147 148 149 150
          {
            key: '317',
            path: '/profile/course',
            isFull: true,
            component: './profile/course',
          },
duanledexianxianxian's avatar
init  
duanledexianxianxian committed
151 152 153 154 155
        ],
      },
    ],
  },
];