From 5bbbd9334e9ad13c4dd2cf02b7c348278e777feb Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 5 Aug 2026 16:48:41 +0800 Subject: [PATCH] =?UTF-8?q?ivus=20&=20oct=20=E5=AF=BC=E8=A1=A8=E5=90=8E?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E4=BF=9D=E5=AD=98=E9=80=BB=E8=BE=91=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/IVUS/QuestionList.vue | 8 +++++++- .../reading/dicoms/components/OCT/QuestionList.vue | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue index 34c68ec0..4883bf46 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue @@ -884,7 +884,13 @@ export default { } saveTasks.push(() => this.$refs['ecrf2'] && this.$refs['ecrf2'].handleSave({ silentSuccess: true, skipRefresh: true })) saveTasks.push(() => this.$refs['ecrf3'] && this.$refs['ecrf3'].handleSave({ silentSuccess: true, skipRefresh: true })) - await Promise.allSettled(saveTasks.map(saveTask => saveTask())) + for (const saveTask of saveTasks) { + try { + await saveTask() + } catch (e) { + console.log(e) + } + } } catch (e) { console.log(e) } finally { diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue index c1ddf028..5ca8d75d 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue @@ -910,7 +910,13 @@ export default { } saveTasks.push(() => this.$refs['ecrf2'] && this.$refs['ecrf2'].handleSave({ silentSuccess: true, skipRefresh: true })) saveTasks.push(() => this.$refs['ecrf3'] && this.$refs['ecrf3'].handleSave({ silentSuccess: true, skipRefresh: true })) - await Promise.allSettled(saveTasks.map(saveTask => saveTask())) + for (const saveTask of saveTasks) { + try { + await saveTask() + } catch (e) { + console.log(e) + } + } } catch (e) { console.log(e) } finally {