wupengfei
2 天以前 7039c7f1a1feacc5479cbe7b886f239dea3ef1e6
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>(), {});