diff --git a/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue b/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue index f0aac9dc..aa9db3d3 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue @@ -658,6 +658,8 @@ export default { this.loading = true try { await this.handleSave(false) + let r = await this.handleSave(false) + if (!r) return await verifyVisitTaskQuestions({ visitTaskId: this.visitTaskId }) var i = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId) var isBaseline = this.visitTaskList[i].IsBaseLine @@ -859,7 +861,7 @@ export default { this.$message.success(this.$t('common:message:savedSuccessfully')) } this.loading = false - resolve() + resolve(true) } catch (e) { this.loading = false reject() diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReportPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReportPage.vue index e971a0a2..b937df3d 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReportPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReportPage.vue @@ -38,7 +38,9 @@ :tree-props="{ children: 'Childrens', hasChildren: 'hasChildren' }" size="mini">