【质控复核】同一个复核任务可以同时被2个iqc打开,当一个iqc复核完成后,另一个iqc也可以复核完成
parent
d91a9170de
commit
7493c1a98a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue