| | |
| | | > |
| | | {{ GetTaskInfoQueryResultHireButtonText[detail.hireButton] }} |
| | | </div> |
| | | <div v-if="from === 'cancel'" :style="{ color: '#999999' }">已取消</div> |
| | | </template> |
| | | <div class="taskDetail-time"> |
| | | {{ dayjs(detail?.beginTime).format('YYYY年MM月DD日') }} 至 |
| | |
| | | :unit="BillingMethodEnumUnit[detail.billingMethod]" |
| | | /> |
| | | </div> |
| | | <div class="taskDetail-address-wrapper"> |
| | | <div class="taskDetail-address-wrapper" @click="goMap"> |
| | | <div class="taskDetail-address-title-wrapper"> |
| | | <img :src="IconLocaltion" class="taskDetail-address-title-icon" /> |
| | | <div class="taskDetail-address-title">{{ detail?.addressName ?? '' }}</div> |
| | |
| | | :isFlex="false" |
| | | @click="handleCall" |
| | | ></PageFooterAction> |
| | | <PageFooterBtn v-if="from === 'sign'" type="primary" disabled> |
| | | <PageFooterBtn |
| | | v-if="from === 'sign'" |
| | | type="primary" |
| | | :disabled="detail?.applyButton === GetTaskInfoQueryResultApplyButton.WaitHire" |
| | | @click="handleSign" |
| | | > |
| | | {{ GetTaskInfoQueryResultApplyButtonText[detail.applyButton] }} |
| | | </PageFooterBtn> |
| | | <PageFooterBtn |
| | |
| | | GetPersonalHireTaskInfosQueryStatusColor, |
| | | GetTaskInfoQueryResultHireButtonText, |
| | | GetTaskInfoQueryResultHireButton, |
| | | GetTaskInfoQueryResultApplyButton, |
| | | } from '@12333/constants'; |
| | | import { useAccessLogin } from '@/hooks'; |
| | | |
| | |
| | | }); |
| | | |
| | | function handleHire() { |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.taskSubmitCheck}?id=${id}`, |
| | | }) |
| | | Taro.navigateTo({ |
| | | url: `${RouterPath.taskSubmitCheck}?id=${id}`, |
| | | }); |
| | | } |
| | | function handleSign() { |
| | | // Taro.navigateTo({ |
| | | // url: `${RouterPath}?id=${id}`, |
| | | // }); |
| | | } |
| | | |
| | | function goMap() { |
| | | Taro.openLocation({ |
| | | latitude: detail.value?.latitude, |
| | | longitude: detail.value?.longitude, |
| | | scale: 18, |
| | | }); |
| | | } |
| | | </script> |