From 1138cd0ece8fda7dda4508e8cf4bf050f53c0f0a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 10 十一月 2025 14:07:47 +0800
Subject: [PATCH] fix: bug
---
apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue b/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue
index 5cc0c46..e6a1e19 100644
--- a/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue
+++ b/apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue
@@ -1,5 +1,5 @@
<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"
@@ -8,12 +8,17 @@
: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"
@@ -24,11 +29,15 @@
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>
@@ -78,7 +87,7 @@
submitCheckReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus;
- userCheckHistoryType?: EnumTaskUserSubmitCheckHistoryType;
+ checkHistoryType?: EnumTaskUserSubmitCheckHistoryType;
};
const props = withDefaults(defineProps<Props>(), {});
--
Gitblit v1.9.1