| | |
| | | " |
| | | type="primary" |
| | | plain |
| | | @click="handleUnsign" |
| | | >解约</PageFooterBtn |
| | | > |
| | | <PageFooterBtn |
| | | type="primary" |
| | | @click="goToSign" |
| | | v-if=" |
| | | enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Wait |
| | | enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Wait || |
| | | enterpriseEmployeeInfo.userSignContractStatus === EnumTaskUserSignContractStatus.Refuse |
| | | " |
| | | >签约</PageFooterBtn |
| | | > |
| | |
| | | import Taro from '@tarojs/taro'; |
| | | import { EnumTaskUserSignContractStatus } from '@12333/constants'; |
| | | import { useGetEnterpriseEmployee, useUserResume } from '@12333/hooks'; |
| | | import { Message } from '@12333/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | |
| | | url: `${RouterPath.flexJobSign}?enterpriseEmployeeId=${enterpriseEmployeeId}`, |
| | | }); |
| | | } |
| | | |
| | | async function handleUnsign() { |
| | | try { |
| | | await Message.confirm({ message: '确定要解约吗?' }); |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |