From 6dcaf1eec6c8e0326c27e8e7726e3d976e5b1026 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 10 十一月 2025 10:28:23 +0800
Subject: [PATCH] fix: bug

---
 apps/bMiniApp/src/subpackages/task/components/TaskCheckCard.vue |   17 ++++++++++-------
 1 files changed, 10 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..295ce76 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,11 @@
       :isReal="isReal"
       :contactPhoneNumber="contactPhoneNumber"
     >
-      <template #actions>
+      <template #actions v-if="checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitCheckReceive">
         <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 +23,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 +81,7 @@
 
   submitCheckReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus;
 
-  userCheckHistoryType?: EnumTaskUserSubmitCheckHistoryType;
+  checkHistoryType?: EnumTaskUserSubmitCheckHistoryType;
 };
 
 const props = withDefaults(defineProps<Props>(), {});

--
Gitblit v1.9.1