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 @@