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 1b0e5a7e..15eeb45a 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/StudyList.vue @@ -112,6 +112,7 @@ v-for="(instance, idx) in series.instanceInfoList" :key="instance.Id" class="frame_content" + :class="{ 'frame_content_active': activeInstanceId === instance.Id }" :style="{'margin-bottom':idx @@ -247,7 +248,8 @@ export default { srInfo: {}, digitPlaces: 2, visitTaskIdx: -1, - taskInfo: null + taskInfo: null, + activeInstanceId: null } }, @@ -698,6 +700,7 @@ export default { }, showSeriesImage(studyIndex, seriesIndex, series) { if (series.isDicom) { + this.activeInstanceId = null if (series.modality === 'SR') { this.studyIndex = studyIndex this.seriesIndex = seriesIndex @@ -757,6 +760,7 @@ export default { }, showMultiFrames(studyIndex, series, seriesIndex, instanceInfo) { this.currentSeriesIndex = seriesIndex + this.activeInstanceId = instanceInfo.Id var idx = this.visitTaskIdx const imageIds = [] if (instanceInfo.KeyFramesList.length > 0) { @@ -1177,6 +1181,10 @@ export default { border-color: #213a54 !important; background-color: #213a54; } +.frame_content_active { + border-color: #213a54 !important; + background-color: #213a54; +} diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue index d0070187..ae4e1778 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue @@ -80,6 +80,7 @@
@@ -163,7 +164,8 @@ export default { taskInfo: null, studyList: [], annotations: [], - digitPlaces: 2 + digitPlaces: 2, + activeInstanceId: null } }, mounted() { @@ -198,6 +200,7 @@ export default { this.$emit('activeSeries', series) this.activeStudyIndex = studyIndex this.activeSeriesIndex = seriesIndex + this.activeInstanceId = null }, activeStudy(id) { if (this.activeNames.indexOf(id) > -1) return @@ -215,6 +218,7 @@ export default { let obj = Object.assign({}, series) this.activeStudyIndex = studyIndex this.activeSeriesIndex = seriesIndex + this.activeInstanceId = instance.Id let taskId = this.visitTaskInfo.VisitTaskId const nFrames = instance.NumberOfFrames || 0 let imageIds = [] @@ -464,3 +468,48 @@ export default { } } + +