|  |  |  | 
|---|
|  |  |  | </div> --> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <TaskPrice | 
|---|
|  |  |  | v-if="detail.releaseStatus !== EnumTaskReleaseStatus.Stopped" | 
|---|
|  |  |  | :value="toThousand(detail.serviceFee ?? 0)" | 
|---|
|  |  |  | :unit="BillingMethodEnumUnit[detail.billingMethod]" | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | 
|---|
|  |  |  | @click="goCompanyDetail" | 
|---|
|  |  |  | :enterpriseName="detail?.enterpriseName ?? ''" | 
|---|
|  |  |  | :taskCount="detail?.taskCount ?? 0" | 
|---|
|  |  |  | :isReal="detail?.isReal ?? false" | 
|---|
|  |  |  | ></CompanyDesc> | 
|---|
|  |  |  | </CellChunk> | 
|---|
|  |  |  | </Cell> | 
|---|
|  |  |  | <Cell title="任务描述"> | 
|---|
|  |  |  | <div class="safe-cell-content">{{ detail?.description ?? '' }}</div> | 
|---|
|  |  |  | </Cell> | 
|---|
|  |  |  | <Cell> | 
|---|
|  |  |  | <template #title> | 
|---|
|  |  |  | 
|---|
|  |  |  | @click="handleCall" | 
|---|
|  |  |  | ></PageFooterAction> | 
|---|
|  |  |  | <PageFooterBtn | 
|---|
|  |  |  | v-if="from === 'sign'" | 
|---|
|  |  |  | v-if="from === 'sign' && !!detail?.applyButton" | 
|---|
|  |  |  | type="primary" | 
|---|
|  |  |  | :disabled="detail?.applyButton === GetTaskInfoQueryResultApplyButton.WaitHire" | 
|---|
|  |  |  | @click="handleSign" | 
|---|
|  |  |  | 
|---|
|  |  |  | {{ GetTaskInfoQueryResultApplyButtonText[detail.applyButton] }} | 
|---|
|  |  |  | </PageFooterBtn> | 
|---|
|  |  |  | <PageFooterBtn | 
|---|
|  |  |  | v-if="from === 'hire'" | 
|---|
|  |  |  | v-if=" | 
|---|
|  |  |  | from === 'hire' && | 
|---|
|  |  |  | !( | 
|---|
|  |  |  | detail?.checkReceiveMethod === EnumTaskCheckReceiveMethod.CheckIn && | 
|---|
|  |  |  | detail?.hireButton === GetTaskInfoQueryResultHireButton.ApplyCheckReceive | 
|---|
|  |  |  | ) | 
|---|
|  |  |  | " | 
|---|
|  |  |  | type="primary" | 
|---|
|  |  |  | :disabled="detail?.hireButton !== GetTaskInfoQueryResultHireButton.ApplyCheckReceive" | 
|---|
|  |  |  | @click="handleHire" | 
|---|
|  |  |  | 
|---|
|  |  |  | GetTaskInfoQueryResultHireButtonText, | 
|---|
|  |  |  | GetTaskInfoQueryResultHireButton, | 
|---|
|  |  |  | GetTaskInfoQueryResultApplyButton, | 
|---|
|  |  |  | EnumTaskCheckReceiveMethod, | 
|---|
|  |  |  | } from '@12333/constants'; | 
|---|
|  |  |  | import { useAccessLogin } from '@/hooks'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const handleApply = useAccessLogin(async () => { | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | let params: API.ApplyTaskCommand = { | 
|---|
|  |  |  | ids: [id], | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | let res = await taskUserServices.applyTask(params); | 
|---|
|  |  |  | if (res) { | 
|---|
|  |  |  | Message.success('报名成功'); | 
|---|
|  |  |  | refetch({ type: 'inactive' }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | const handleApply = useAccessReal( | 
|---|
|  |  |  | async () => { | 
|---|
|  |  |  | try { | 
|---|
|  |  |  | let params: API.ApplyTaskCommand = { | 
|---|
|  |  |  | ids: [id], | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | let res = await taskUserServices.applyTask(params); | 
|---|
|  |  |  | if (res) { | 
|---|
|  |  |  | Message.success('报名成功'); | 
|---|
|  |  |  | refetch({ type: 'inactive' }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } catch (error) {} | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | { message: '实名成功后才可报名,请前往实名认证' } | 
|---|
|  |  |  | ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const handleAttention = useAccessLogin(async () => { | 
|---|
|  |  |  | try { | 
|---|