wupengfei
2025-11-13 c675695faef95b623a6b3de6a02066118a42b98b
src/views/EmploymentManage/CheckReceiveTaskDetail.vue
@@ -78,6 +78,19 @@
      onClick: (role) => openDialog(role, true),
    },
  },
  acceptanceBtn: {
    emits: {
      onClick: (role) => openDialog(role),
    },
    extraProps: {
      hide: (row: API.GetCheckReceiveTaskQueryResultItem) =>
        !(
          row.checkReceiveStatus === EnumTaskCheckReceiveStatus.WaitCheckReceive &&
          row.checkReceiveMethods.includes(EnumTaskCheckReceiveMethod.Submit) &&
          taskInfo.value?.isInternal
        ),
    },
  },
};
const { checkSubModuleItemShow, column, operationBtns } = useAccess({
@@ -168,6 +181,9 @@
    id: row.id,
    checkReceiveMethods: state.checkReceiveMethods,
    isInternal: state.isInternal,
    tabType: state.checkReceiveMethods.includes(EnumTaskCheckReceiveMethod.CheckIn)
      ? 'signRecord'
      : '',
    isDetail,
  });
}
@@ -178,6 +194,7 @@
    checkReceiveMethods: [] as any as EnumTaskCheckReceiveMethod[],
    isInternal: false,
    isDetail: false,
    tabType: '',
  },
});