ソースを参照

个人中心-学生专区位置移动

Xiao_123 2 ヶ月 前
コミット
7c2b4c3f02
1 ファイル変更62 行追加62 行削除
  1. 62 62
      src/router/modules/components/recruit/personCenter.js

+ 62 - 62
src/router/modules/components/recruit/personCenter.js

@@ -71,6 +71,68 @@ const personCenter = [
               }
             ]
           },
+          // 学生专区
+          {
+            path: '/recruit/personal/personalCenter/student',
+            redirect: '/recruit/personal/personalCenter/student/information',
+            name: 'Student',
+            permissionName: 'studentInformation',
+            meta: {
+              title: '学生专区',
+              enName: 'Student Information',
+              icon: 'mdi-account-school-outline'
+            },
+            children: [
+              {
+                path: '/recruit/personal/personalCenter/student/information',
+                component: () => import('@/views/recruit/personal/PersonalCenter/student/information/index.vue'),
+                meta: {
+                  title: '学生信息',
+                  enName: 'Student Information'
+                }
+              },
+              {
+                path: '/recruit/personal/personalCenter/student/internshipCompany',
+                component: () => import('@/views/recruit/personal/PersonalCenter/student/intershipCompany/index.vue'),
+                meta: {
+                  title: '实习记录',
+                  enName: 'Internship Company'
+                }
+              },
+              {
+                path: '/recruit/personal/personalCenter/student/internshipReport',
+                component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipReport/index.vue'),
+                meta: {
+                  title: '实习报告',
+                  enName: 'Internship Report'
+                }
+              },
+              // {
+              //   path: '/recruit/personal/personalCenter/student/internshipCertificate',
+              //   component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipCertificate/index.vue'),
+              //   meta: {
+              //     title: '实习证书',
+              //     enName: 'Internship Certificate'
+              //   }
+              // },
+              // {
+              //   path: '/recruit/personal/personalCenter/student/enterpriseRecommendationLetter',
+              //   component: () => import('@/views/recruit/personal/PersonalCenter/student/EnterpriseRecommendationLetter/index.vue'),
+              //   meta: {
+              //     title: '企业推荐信',
+              //     enName: 'Recommendation Letter'
+              //   }
+              // },
+              {
+                path: '/recruit/personal/personalCenter/student/internshipButler',
+                component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipButler/index.vue'),
+                meta: {
+                  title: '实习管家',
+                  enName: 'Internship Butler'
+                }
+              }
+            ]
+          },
           // 赏金奖励
           {
             path: '/recruit/personal/personalCenter/bountyRewards',
@@ -175,68 +237,6 @@ const personCenter = [
               enName: 'Shipping Address',
               icon: 'mdi-map-marker-outline'
             }
-          },
-          // 学生专区
-          {
-            path: '/recruit/personal/personalCenter/student',
-            redirect: '/recruit/personal/personalCenter/student/information',
-            name: 'Student',
-            permissionName: 'studentInformation',
-            meta: {
-              title: '学生专区',
-              enName: 'Student Information',
-              icon: 'mdi-account-school-outline'
-            },
-            children: [
-              {
-                path: '/recruit/personal/personalCenter/student/information',
-                component: () => import('@/views/recruit/personal/PersonalCenter/student/information/index.vue'),
-                meta: {
-                  title: '学生信息',
-                  enName: 'Student Information'
-                }
-              },
-              {
-                path: '/recruit/personal/personalCenter/student/internshipCompany',
-                component: () => import('@/views/recruit/personal/PersonalCenter/student/intershipCompany/index.vue'),
-                meta: {
-                  title: '实习记录',
-                  enName: 'Internship Company'
-                }
-              },
-              {
-                path: '/recruit/personal/personalCenter/student/internshipReport',
-                component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipReport/index.vue'),
-                meta: {
-                  title: '实习报告',
-                  enName: 'Internship Report'
-                }
-              },
-              // {
-              //   path: '/recruit/personal/personalCenter/student/internshipCertificate',
-              //   component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipCertificate/index.vue'),
-              //   meta: {
-              //     title: '实习证书',
-              //     enName: 'Internship Certificate'
-              //   }
-              // },
-              // {
-              //   path: '/recruit/personal/personalCenter/student/enterpriseRecommendationLetter',
-              //   component: () => import('@/views/recruit/personal/PersonalCenter/student/EnterpriseRecommendationLetter/index.vue'),
-              //   meta: {
-              //     title: '企业推荐信',
-              //     enName: 'Recommendation Letter'
-              //   }
-              // },
-              {
-                path: '/recruit/personal/personalCenter/student/internshipButler',
-                component: () => import('@/views/recruit/personal/PersonalCenter/student/InternshipButler/index.vue'),
-                meta: {
-                  title: '实习管家',
-                  enName: 'Internship Butler'
-                }
-              }
-            ]
           }
         ]
       }