关键帧修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-08-29 14:34:12 +08:00
parent 7854159587
commit 53fbc45ba2
1 changed files with 4 additions and 5 deletions

View File

@ -333,6 +333,7 @@ export default {
}
}
DicomEvent.$emit('loadImageStacks', res)
console.log('initStudyInfo')
loading.close()
this.isRender = true
}).catch(() => {
@ -350,7 +351,6 @@ export default {
})
},
getStudyList() {
console.log('getStudyList')
if (!this.isRender) {
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
if (idx > -1 && this.visitTaskList[idx].StudyList && this.visitTaskList[idx].StudyList.length > 0) {
@ -358,7 +358,6 @@ export default {
this.studyList = this.visitTaskList[idx].StudyList
var sIdx = this.studyList.findIndex(s => s.IsDicom)
if (sIdx > -1) {
console.log(this.studyIndex, this.studyIndex)
// this.studyIndex = sIdx
// c = 0
this.activeNames = [`${this.studyList[sIdx].StudyId}`]
@ -394,7 +393,7 @@ export default {
var isReadingTaskViewInOrder = parseInt(this.$router.currentRoute.query.isReadingTaskViewInOrder)
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
this.studyList = this.visitTaskList[idx].StudyList
const studyList = this.visitTaskList[idx].StudyList.filter(i => i.IsDicom)
const studyList = this.visitTaskList[idx].StudyList.filter(i => i.IsDicom && !i.IsCriticalSequence)
const seriesArr = studyList.map(s => s.SeriesList).flat()
if (isReadingTaskViewInOrder === 2) {
//
@ -592,12 +591,12 @@ export default {
}
}
if (Object.keys(obj).length === 0) {
const sIdx = studyList.findIndex(s => s.IsDicom)
const sIdx = studyList.findIndex(s => s.IsDicom && !s.IsCriticalSequence)
if (sIdx > -1) {
obj.studyIndex = sIdx
obj.seriesIndex = 0
obj.series = studyList[obj.studyIndex].SeriesList[obj.seriesIndex]
const imageIdIndex = Math.floor(obj.series.imageIds.length / 2)
const imageIdIndex = obj.series && obj.series.imageIds ? Math.floor(obj.series.imageIds.length / 2) : 0
obj.series.imageIdIndex = imageIdIndex >= 0 ? imageIdIndex : 0
// obj.seriesId = series.seriesId
obj.isMarked = false