| | |
| | | @click="handleCall" |
| | | ></PageFooterAction> |
| | | <PageFooterBtn |
| | | v-if="detail.releaseStatus === EnumTaskReleaseStatus.InProcess" |
| | | v-if="showApplyBtn" |
| | | type="primary" |
| | | @click="handleApply" |
| | | :disabled="detail?.hireStatus === EnumTaskUserHireStatus.Wait" |
| | | >{{ `报名(${detail?.applyCount ?? 0}人已报名)` }}</PageFooterBtn |
| | | > |
| | | <PageFooterBtn v-if="detail.hireStatus === EnumTaskUserHireStatus.Wait" color="#999999" |
| | | >已停止</PageFooterBtn |
| | | <PageFooterBtn |
| | | v-if="detail.applyButton === GetTaskInfoQueryResultApplyButton.WaitHire" |
| | | color="#999999" |
| | | disabled |
| | | >待确认</PageFooterBtn |
| | | > |
| | | <!-- <PageFooterBtn |
| | | v-if="detail.applyButton === GetTaskInfoQueryResultApplyButton.WaitSignContract" |
| | | >去签约</PageFooterBtn |
| | | > --> |
| | | <PageFooterBtn |
| | | v-if="detail.hireButton === GetTaskInfoQueryResultHireButton.InProcess" |
| | | color="#999999" |
| | | disabled |
| | | >进行中</PageFooterBtn |
| | | > |
| | | <!-- <PageFooterBtn |
| | | v-if="detail.hireButton === GetTaskInfoQueryResultHireButton.ApplyCheckReceive" |
| | | >申请验收</PageFooterBtn |
| | | > --> |
| | | <PageFooterBtn |
| | | v-if="detail.hireButton === GetTaskInfoQueryResultHireButton.Completed" |
| | | color="#999999" |
| | | disabled |
| | | >已完成</PageFooterBtn |
| | | > |
| | | <PageFooterBtn v-if="detail.releaseStatus === EnumTaskReleaseStatus.Stopped" color="#999999" |
| | | >已停止</PageFooterBtn |
| | |
| | | BillingMethodEnumUnit, |
| | | EnumTaskReleaseStatus, |
| | | EnumTaskUserHireStatus, |
| | | GetTaskInfoQueryResultApplyButton, |
| | | GetTaskInfoQueryResultHireButton, |
| | | } from '@12333/constants'; |
| | | import { useAccessLogin } from '@/hooks'; |
| | | |
| | |
| | | const router = Taro.useRouter(); |
| | | const taskId = router.params?.id ?? ''; |
| | | |
| | | const showApplyBtn = computed(() => { |
| | | return ( |
| | | detail.value?.releaseStatus === EnumTaskReleaseStatus.InProcess && |
| | | (detail.value?.hireStatus === EnumTaskUserHireStatus.Wait || !detail.value?.hireStatus) |
| | | ); |
| | | }); |
| | | |
| | | const { |
| | | isLoading, |
| | | isError, |