zhengyiming
2025-11-28 4b605424c769f0ef5f02eb1abdf8bd5b7d558161
src/views/EmploymentManage/CheckReceiveTaskDetail.vue
@@ -78,16 +78,17 @@
      onClick: (role) => openDialog(role, true),
    },
  },
  exportBtn: {
  acceptanceBtn: {
    emits: {
      onClick: (role) => openDialog(role),
    },
    extraProps: {
      hide: (row: API.GetCheckReceiveTaskQueryResultItem) =>
        !(
          row.checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitCheckReceive &&
          (row.checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitCheckReceive ||
            row.checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitSubmit) &&
          row.checkReceiveMethods.includes(EnumTaskCheckReceiveMethod.Submit) &&
          !taskInfo.value?.isInternal
          taskInfo.value?.isInternal
        ),
    },
  },
@@ -181,6 +182,9 @@
    id: row.id,
    checkReceiveMethods: state.checkReceiveMethods,
    isInternal: state.isInternal,
    tabType: state.checkReceiveMethods.includes(EnumTaskCheckReceiveMethod.CheckIn)
      ? 'signRecord'
      : '',
    isDetail,
  });
}
@@ -191,6 +195,7 @@
    checkReceiveMethods: [] as any as EnumTaskCheckReceiveMethod[],
    isInternal: false,
    isDetail: false,
    tabType: '',
  },
});