【质控复核】同一个复核任务可以同时被2个iqc打开,当一个iqc复核完成后,另一个iqc也可以复核完成

uat
wangxiaoshuang 2025-07-17 16:23:17 +08:00
parent d91a9170de
commit 7493c1a98a
1 changed files with 18 additions and 3 deletions

View File

@ -812,10 +812,25 @@ export default {
.catch(() => { })
},
//
reviewTask(row) {
async reviewTask(row) {
if (!this.OtherInfo.IsQCQuestionConfirmed) return this.$alert(this.$t("trials:qcCheck:alert:questionNoConfirm"))
this.rowData = { ...row }
this.qcVisible = true
this.loading = true
let res = await takeOrReleaseQCTask(row.TrialId, row.Id, true)
this.loading = false
if (res.IsSuccess) {
this.rowData = { ...row }
this.qcVisible = true
} else {
if (res.Code === 5 && res.ErrorMessage) {
this.$confirm(res.ErrorMessage, {
type: 'warning',
showCancelButton: false,
callback: (action) => { },
})
this.getList()
}
}
},
//
handlePrimaryQC(row) {