| | |
| | | <template> |
| | | <ContentView> |
| | | <nut-noticebar |
| | | text="个人简历已完善50%,完善简历可提升录用率" |
| | | :text="`个人简历已完善${userResumeInfo?.completeRate ?? 0}%,完善简历可提升录用率`" |
| | | :left-icon="false" |
| | | background="transparent" |
| | | close-mode |
| | | class="mine-curriculum-noticebar" |
| | | /> |
| | | <div class="mine-curriculum-info-wrapper"> |
| | | <UserAvatar :size="60" class="mine-curriculum-avatar" /> |
| | | <Avatar |
| | | :size="60" |
| | | class="mine-curriculum-avatar" |
| | | :src="setOSSLink(userResumeInfo?.avatar ?? '')" |
| | | ></Avatar> |
| | | <div class="mine-curriculum-info-content"> |
| | | <div class="mine-curriculum-info-item"> |
| | | <div class="mine-curriculum-info-item-left"> |
| | | <div class="mine-curriculum-info-item-name"> |
| | | {{ userStore.userDetail?.userName ?? '' }} |
| | | {{ userResumeInfo?.name ?? '' }} |
| | | </div> |
| | | <div class="mine-curriculum-info-item-gender"> |
| | | <div class="mine-curriculum-info-item-gender-dot">·</div> |
| | | <img v-if="1" :src="IconMale" class="mine-curriculum-info-item-gender-icon" /> |
| | | <img |
| | | v-if="userResumeInfo?.gender === EnumUserGender.Male" |
| | | :src="IconMale" |
| | | class="mine-curriculum-info-item-gender-icon" |
| | | /> |
| | | <img v-else :src="IconFemale" class="mine-curriculum-info-item-gender-icon" /> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="mine-curriculum-info-item-left"> |
| | | <img :src="IconPhone" class="mine-curriculum-info-item-phone-icon" /> |
| | | <div class="mine-curriculum-info-item-phone"> |
| | | {{ userStore.userDetail?.phoneNumber ?? '' }} |
| | | {{ userResumeInfo?.contactPhoneNumber ?? '' }} |
| | | </div> |
| | | </div> |
| | | <div class="mine-curriculum-info-item-detail"> |
| | | {{ '26岁 | 非学生 | 本科' }} |
| | | {{ |
| | | `${userResumeInfo?.age ? `${userResumeInfo?.age}岁` : ''} |
| | | ${ |
| | | userResumeInfo?.personalIdentityContent |
| | | ? `| ${userResumeInfo?.personalIdentityContent}` |
| | | : '' |
| | | } |
| | | ${ |
| | | userResumeInfo?.educationalBackgroundContent |
| | | ? `| ${userResumeInfo?.educationalBackgroundContent}` |
| | | : '' |
| | | }` |
| | | }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <MineAgreementSignDetailItem label="期望岗位" class="mine-curriculum-intention-job"> |
| | | <template #detail> |
| | | <JobTagList /> |
| | | <JobTagList :jobTagList="jobTag" /> |
| | | </template> |
| | | </MineAgreementSignDetailItem> |
| | | <MineAgreementSignDetailItem label="空闲时间"> |
| | | <template #detail> |
| | | <div class="mine-curriculum-intention-bold">不限</div> |
| | | <div class="mine-curriculum-intention-bold"> |
| | | {{ EnumPersonalFreeTimeText[userResumeInfo?.freeTime] }} |
| | | </div> |
| | | </template> |
| | | </MineAgreementSignDetailItem> |
| | | <MineAgreementSignDetailItem label="求职状态"> |
| | | <template #detail> |
| | | <div class="mine-curriculum-intention-bold">积极找工作</div> |
| | | <div class="mine-curriculum-intention-bold"> |
| | | {{ EnumPersonalJobSeekingStatusText[userResumeInfo?.jobSeekingStatus] }} |
| | | </div> |
| | | </template> |
| | | </MineAgreementSignDetailItem> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | import { useIsLogin } from '@/hooks'; |
| | | import MineAgreementSignDetailItem from '../../mine/mineAgreementSignDetail/MineAgreementSignDetailItem.vue'; |
| | | import { List, ListItem, JobTagList } from '@12333/components'; |
| | | import { List, ListItem, JobTagList, Avatar } from '@12333/components'; |
| | | import { |
| | | EnumUserGender, |
| | | EnumPersonalFreeTimeText, |
| | | EnumPersonalJobSeekingStatusText, |
| | | } from '@12333/constants'; |
| | | import { RouterPath } from '@/constants'; |
| | | import IconArrow from '@/assets/setting/icon-arrow.png'; |
| | | import IconAuth from '@/assets/mine/icon-auth.png'; |
| | |
| | | import IconFemale from '@/assets/mine/icon-female.png'; |
| | | import IconPhone from '@/assets/mine/icon-phone.png'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { setOSSLink } from '@12333/utils'; |
| | | import { useEvent } from 'senin-mini/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | | }); |
| | | |
| | | const userStore = useUserStore(); |
| | | const isLogin = useIsLogin(); |
| | | useEvent('updateResume', function (data: { content: boolean }) { |
| | | if (data.content) { |
| | | refetch({ |
| | | type: 'inactive', |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | const { userResumeInfo, refetch } = useUserResume(); |
| | | |
| | | const jobTag = computed( |
| | | () => userResumeInfo?.value?.userExpectJobs?.map((x) => x.expectJobContent) ?? [] |
| | | ); |
| | | |
| | | function goPage(routeName: string) { |
| | | Taro.navigateTo({ |