病灶对齐逻辑更改
continuous-integration/drone/push Build is passing Details

uat
caiyiling 2025-04-18 17:02:52 +08:00
parent c657bb8783
commit aea6a3f8c8
2 changed files with 10 additions and 6 deletions

View File

@ -2030,12 +2030,15 @@ export default {
return return
} else if (Object.keys(firstAddSeries).length !== 0 && Object.keys(currentAddSeries).length === 0) { } else if (Object.keys(firstAddSeries).length !== 0 && Object.keys(currentAddSeries).length === 0) {
// 访 // 访
currentAddSeries = this.getRelatedSeries(this.visitTaskList[index], firstAddSeries) // currentAddSeries = this.getRelatedSeries(this.visitTaskList[index], firstAddSeries)
if (Object.keys(currentAddSeries).length === 0) { // if (Object.keys(currentAddSeries).length === 0) {
// // //
currentAddSeries = this.$refs[`viewport-${this.cells.length - 1}`][0].series // currentAddSeries = this.$refs[`viewport-${this.cells.length - 1}`][0].series
} // }
//
currentAddSeries = this.$refs[`viewport-${this.cells.length - 1}`][0].series
} }
} else { } else {
// //
@ -2050,6 +2053,7 @@ export default {
if (i === this.cells.length - 1) { if (i === this.cells.length - 1) {
this.$refs[`viewport-${i}`][0].setSeriesInfo(currentAddSeries, true) this.$refs[`viewport-${i}`][0].setSeriesInfo(currentAddSeries, true)
this.activeViewportIndex = i this.activeViewportIndex = i
this.$refs[currentAddSeries.TaskInfo.VisitTaskId][0].setSeriesActive(currentAddSeries.StudyIndex, currentAddSeries.SeriesIndex)
} else { } else {
this.$refs[`viewport-${i}`][0].setSeriesInfo(firstAddSeries, true) this.$refs[`viewport-${i}`][0].setSeriesInfo(firstAddSeries, true)
} }

View File

@ -80,7 +80,7 @@
</span> </span>
<span v-show="series.LoadedImageCount >= series.InstanceCount">{{ series.Modality }}: {{ series.InstanceCount }} image</span> <span v-show="series.LoadedImageCount >= series.InstanceCount">{{ series.Modality }}: {{ series.InstanceCount }} image</span>
</div> </div>
<div style="line-height: 16px;"> <div style="line-height: 12px;">
<i v-show="series.IsBeMark || markedSeriesIds.includes(series.Id)" class="el-icon-star-on" style="font-size: 12px;color: #ff5722;" /> <i v-show="series.IsBeMark || markedSeriesIds.includes(series.Id)" class="el-icon-star-on" style="font-size: 12px;color: #ff5722;" />
</div> </div>
</div> </div>