| | |
| | | :isCollapse="true" |
| | | > |
| | | <template #footer> |
| | | <PageFooterBtn v-if="userResumeInfo" type="primary" plain>解约</PageFooterBtn> |
| | | <PageFooterBtn type="primary" @click="goToSign">签约</PageFooterBtn> |
| | | <PageFooterBtn |
| | | v-if=" |
| | | enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Pass |
| | | " |
| | | type="primary" |
| | | plain |
| | | >解约</PageFooterBtn |
| | | > |
| | | <PageFooterBtn |
| | | type="primary" |
| | | @click="goToSign" |
| | | v-if=" |
| | | enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Wait |
| | | " |
| | | >签约</PageFooterBtn |
| | | > |
| | | </template> |
| | | </JobDetailContent> |
| | | </LoadingLayout> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import Taro from '@tarojs/taro'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { useUserResume } from '@12333/hooks'; |
| | | import { EnumTaskUserSignContractStatus } from '@12333/constants'; |
| | | import { useGetEnterpriseEmployee, useUserResume } from '@12333/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | enterpriseEmployeeId: enterpriseEmployeeId, |
| | | }); |
| | | |
| | | const { enterpriseEmployeeInfo } = useGetEnterpriseEmployee({ |
| | | id: enterpriseEmployeeId, |
| | | }); |
| | | |
| | | function goToSign() { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.flexJobSign}?enterpriseEmployeeId=${enterpriseEmployeeId}`, |