From 7493c1a98af9d1d508e73e1f6d929a6552149cc0 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 17 Jul 2025 16:23:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B4=A8=E6=8E=A7=E5=A4=8D=E6=A0=B8?= =?UTF-8?q?=E3=80=91=E5=90=8C=E4=B8=80=E4=B8=AA=E5=A4=8D=E6=A0=B8=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=8F=AF=E4=BB=A5=E5=90=8C=E6=97=B6=E8=A2=AB2?= =?UTF-8?q?=E4=B8=AAiqc=E6=89=93=E5=BC=80=EF=BC=8C=E5=BD=93=E4=B8=80?= =?UTF-8?q?=E4=B8=AAiqc=E5=A4=8D=E6=A0=B8=E5=AE=8C=E6=88=90=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E5=8F=A6=E4=B8=80=E4=B8=AAiqc=E4=B9=9F=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E5=A4=8D=E6=A0=B8=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/visit/qc-check/index.vue | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-panel/visit/qc-check/index.vue b/src/views/trials/trials-panel/visit/qc-check/index.vue index 40998e2c..d63381b7 100644 --- a/src/views/trials/trials-panel/visit/qc-check/index.vue +++ b/src/views/trials/trials-panel/visit/qc-check/index.vue @@ -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) {