From 4135349bfa2eab382f3596629eeb848260cacb14 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 3 Jul 2024 10:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=88=97=E8=A1=A8bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/reading.js | 6 ++++ .../reading/dicoms/components/StudyList.vue | 31 ++++++++----------- .../dicoms/customize/CustomizeStudyList.vue | 18 +++++------ 3 files changed, 26 insertions(+), 29 deletions(-) diff --git a/src/store/modules/reading.js b/src/store/modules/reading.js index 249444c6..8418f231 100644 --- a/src/store/modules/reading.js +++ b/src/store/modules/reading.js @@ -896,6 +896,12 @@ const actions = { resolve() }) }, + setImageloadedInfo({ state }, obj) { + var index = state.visitTaskList.findIndex(i => i.VisitTaskId === obj.visitTaskId) + let prefetchInstanceCount = state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].prefetchInstanceCount + state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].prefetchInstanceCount = prefetchInstanceCount + 100 + state.visitTaskList[index].StudyList[obj.studyIndex].SeriesList[obj.seriesIndex].imageloadedArr.push(obj.imageId) + }, setStatus({ state }, obj) { var index = state.visitTaskList.findIndex(i => i.VisitTaskId === obj.visitTaskId) state.visitTaskList[index].IsInit = true diff --git a/src/views/trials/trials-panel/reading/dicoms/components/StudyList.vue b/src/views/trials/trials-panel/reading/dicoms/components/StudyList.vue index c3b6e358..0a7c181c 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/StudyList.vue @@ -51,7 +51,7 @@