diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue index 89c3b1b6..be5bff93 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue @@ -1291,8 +1291,17 @@ export default { let res = await replaceQCTaskActionUser(this.data.TrialId, this.data.Id, this.assignForm) if (res.IsSuccess) { this.$emit('getList') - this.assignObj.visible = true + this.assignObj.visible = false this.$emit("close") + } else { + if (res.Code === 5 && res.ErrorMessage) { + this.$confirm(res.ErrorMessage, { + type: 'warning', + showCancelButton: false, + callback: (action) => { }, + }) + this.$emit('getList') + } } } catch (err) { console.log(err)