lifanagju_citu 11 ماه پیش
والد
کامیت
5cc30f5c6f
5فایلهای تغییر یافته به همراه33 افزوده شده و 1 حذف شده
  1. 1 0
      src/layout/personal/navBar.vue
  2. 4 0
      src/locales/en.js
  3. 4 0
      src/locales/zh-CN.js
  4. 15 1
      src/router/modules/personal.js
  5. 9 0
      src/views/personal/myPublicRecruitment.vue

+ 1 - 0
src/layout/personal/navBar.vue

@@ -187,6 +187,7 @@ const handleLogout = async () => {
 const items = ref([
   { title: t('resume.onlineResume'), icon: 'mdi-list-box-outline', change: () => router.push({ path: '/resume' }) },
   { title: t('setting.accountSettings'), icon: 'mdi-cog-outline', change: () => router.push({ path: '/personalAccount/accountBinding' }) },
+  { title: t('publicRecruitment.myPR'), icon: 'mdi-google-circles-extended', change: () => router.push({ path: '/myPublicRecruitment' }) },
   { title: t('setting.switchToRecruit'), icon: 'mdi-swap-horizontal', change: changeLoginType },
   { title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout }
 ])

+ 4 - 0
src/locales/en.js

@@ -201,5 +201,9 @@ export default {
     logOut: 'Logout',
     switchToJobSeeker: 'Switch to Job Seeker',
     switchToRecruit: 'Switch to Recruiter'
+  },
+  publicRecruitment: {
+    publicRecruitment: 'Public Recruitment',
+    myPR: 'Public Recruitment',
   }
 }

+ 4 - 0
src/locales/zh-CN.js

@@ -201,5 +201,9 @@ export default {
     logOut: '退出登录',
     switchToJobSeeker: '切换为求职者',
     switchToRecruit: '切换为招聘者'
+  },
+  publicRecruitment: {
+    publicRecruitment: '众聘',
+    myPR: '我的众聘',
   }
 }

+ 15 - 1
src/router/modules/personal.js

@@ -101,6 +101,20 @@ const personal = [
         }
       }
     ]
-  }
+  },
+  {
+    path: '/myPublicRecruitment',
+    component: Layout,
+    name: 'myPublicRecruitment',
+    meta: {
+      title: '我的众聘'
+    },
+    children: [
+      {
+        path: '/myPublicRecruitment',
+        component: () => import('@/views/personal/myPublicRecruitment')
+      }
+    ]
+  },
 ]
 export default personal

+ 9 - 0
src/views/personal/myPublicRecruitment.vue

@@ -0,0 +1,9 @@
+<template>
+  <div>vue3PageInit</div>
+</template>
+
+<script setup>
+defineOptions({name: 'personal-myPublicRecruitment'})
+</script>
+<style lang="scss" scoped>
+</style>