| | |
| | | <template> |
| | | <div class="task-check-card-wrapper" @click.stop="emit('checkReceive')"> |
| | | <div class="task-check-card-wrapper"> |
| | | <TaskCheckPersonalView |
| | | class="task-check-card-view" |
| | | :avatar="avatar" |
| | |
| | | :isReal="isReal" |
| | | :contactPhoneNumber="contactPhoneNumber" |
| | | > |
| | | <template #actions> |
| | | <template |
| | | #actions |
| | | v-if=" |
| | | checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitCheckReceive || |
| | | checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitSubmit |
| | | " |
| | | > |
| | | <template v-if="OrderUtils.isContainCheckIn(checkReceiveMethods)"> |
| | | <nut-button |
| | | v-if=" |
| | | !userCheckHistoryType || |
| | | userCheckHistoryType === EnumTaskUserSubmitCheckHistoryType.CheckIn |
| | | !checkHistoryType || checkHistoryType === EnumTaskUserSubmitCheckHistoryType.CheckIn |
| | | " |
| | | type="primary" |
| | | class="task-check-card-phone-btn" |
| | |
| | | v-else |
| | | type="primary" |
| | | class="task-check-card-phone-btn" |
| | | @click.stop="handleMore" |
| | | @click.stop="emit('checkReceive')" |
| | | >验收</nut-button |
| | | > |
| | | </template> |
| | | <nut-button v-else type="primary" class="task-check-card-phone-btn" @click.stop="handleMore" |
| | | <nut-button |
| | | v-else |
| | | type="primary" |
| | | class="task-check-card-phone-btn" |
| | | @click.stop="emit('checkReceive')" |
| | | >验收</nut-button |
| | | > |
| | | </template> |
| | |
| | | |
| | | submitCheckReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus; |
| | | |
| | | userCheckHistoryType?: EnumTaskUserSubmitCheckHistoryType; |
| | | checkHistoryType?: EnumTaskUserSubmitCheckHistoryType; |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |