wuhongyuq před 5 roky
rodič
revize
32642b88bd
1 změnil soubory, kde provedl 9 přidání a 9 odebrání
  1. 9 9
      src/router/index.js

+ 9 - 9
src/router/index.js

@@ -22,22 +22,22 @@ const routes = [
 
       {
         path: '/itembank/detail',
-        name: 'teacher_detail',
+        name: 'itembank_detail',
         component: () => import('@/views/Itembank/detail.vue'),
       },
       {
         path: '/itembank/index',
-        name: 'index_index',
+        name: 'itembank_index',
         component: () => import('@/views/Itembank/index.vue'),
       },
       {
         path: '/questionnaire/index',
-        name: 'index_index',
+        name: 'questionnaire_index',
         component: () => import('@/views/questionnaire/index.vue'),
       },
       {
         path: '/questionnaire/detail',
-        name: 'teacher_detail',
+        name: 'questionnaire_detail',
         component: () => import('@/views/questionnaire/detail.vue'),
       },
       {
@@ -47,17 +47,17 @@ const routes = [
       },
       {
         path: '/teacher/index',
-        name: 'index_index',
+        name: 'teacher_index',
         component: () => import('@/views/teacher/index.vue'),
       },
       {
         path: '/work/detail',
-        name: 'teacher_detail',
+        name: 'work_detail',
         component: () => import('@/views/work/detail.vue'),
       },
       {
         path: '/work/index',
-        name: 'index_index',
+        name: 'work_index',
         component: () => import('@/views/work/index.vue'),
       },
       {
@@ -73,12 +73,12 @@ const routes = [
       },
       {
         path: '/subject/index',
-        name: 'index_index',
+        name: 'subject_index',
         component: () => import('@/views/subject/index.vue'),
       },
       {
         path: '/subject/detail',
-        name: 'teacher_detail',
+        name: 'subject_detail',
         component: () => import('@/views/subject/detail.vue'),
       },
     ],