|  |  |  | 
|---|
|  |  |  | :contactPhoneNumber="userResumeInfo.contactPhoneNumber" | 
|---|
|  |  |  | :identity="userResumeInfo.identity" | 
|---|
|  |  |  | :isCollapse="isCollapse" | 
|---|
|  |  |  | :userId="enterpriseEmployeeId" | 
|---|
|  |  |  | :userExpectJobs="userResumeInfo.userExpectJobs" | 
|---|
|  |  |  | :freeTime="userResumeInfo.freeTime" | 
|---|
|  |  |  | :jobSeekingStatus="userResumeInfo.jobSeekingStatus" | 
|---|
|  |  |  | 
|---|
|  |  |  | :photos="userResumeInfo.photos" | 
|---|
|  |  |  | :height="userResumeInfo.height" | 
|---|
|  |  |  | :weight="userResumeInfo.weight" | 
|---|
|  |  |  | :videos="userResumeInfo.videos" | 
|---|
|  |  |  | :taskInfoUsers="userResumeInfo.taskInfoUsers" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <template #footer> | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const router = Taro.useRouter(); | 
|---|
|  |  |  | const enterpriseEmployeeId = router.params?.enterpriseEmployeeId ?? ''; | 
|---|
|  |  |  | const userId = router.params?.userId ?? ''; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { isLoading, isError, userResumeInfo, refetch } = useUserResume({ | 
|---|
|  |  |  | userId: enterpriseEmployeeId, | 
|---|
|  |  |  | userId: userId, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const { isCollapse, toggle } = useToggle(); | 
|---|
|  |  |  | 
|---|
|  |  |  | const handleContact = useAccessLogin(async () => { | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | if (!isCollapse.value) { | 
|---|
|  |  |  | await userResumeServices.contactUserResume({ id: enterpriseEmployeeId }); | 
|---|
|  |  |  | await userResumeServices.contactUserResume({ id: userId }); | 
|---|
|  |  |  | toggle(); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | Taro.makePhoneCall({ | 
|---|
|  |  |  | phoneNumber: userResumeInfo.value.contactPhoneNumber, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | 
|---|
|  |  |  | async function handleAttention() { | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | let params: API.CollectUserResumeCommand = { | 
|---|
|  |  |  | id: enterpriseEmployeeId, | 
|---|
|  |  |  | id: userId, | 
|---|
|  |  |  | isCollected: !userResumeInfo.value.isCollected, | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | let res = await userResumeServices.collectUserResume(params); | 
|---|