关键帧修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7854159587
commit
53fbc45ba2
|
|
@ -333,6 +333,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DicomEvent.$emit('loadImageStacks', res)
|
DicomEvent.$emit('loadImageStacks', res)
|
||||||
|
console.log('initStudyInfo')
|
||||||
loading.close()
|
loading.close()
|
||||||
this.isRender = true
|
this.isRender = true
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|
@ -350,7 +351,6 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getStudyList() {
|
getStudyList() {
|
||||||
console.log('getStudyList')
|
|
||||||
if (!this.isRender) {
|
if (!this.isRender) {
|
||||||
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
|
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
|
||||||
if (idx > -1 && this.visitTaskList[idx].StudyList && this.visitTaskList[idx].StudyList.length > 0) {
|
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
|
this.studyList = this.visitTaskList[idx].StudyList
|
||||||
var sIdx = this.studyList.findIndex(s => s.IsDicom)
|
var sIdx = this.studyList.findIndex(s => s.IsDicom)
|
||||||
if (sIdx > -1) {
|
if (sIdx > -1) {
|
||||||
console.log(this.studyIndex, this.studyIndex)
|
|
||||||
// this.studyIndex = sIdx
|
// this.studyIndex = sIdx
|
||||||
// c = 0
|
// c = 0
|
||||||
this.activeNames = [`${this.studyList[sIdx].StudyId}`]
|
this.activeNames = [`${this.studyList[sIdx].StudyId}`]
|
||||||
|
|
@ -394,7 +393,7 @@ export default {
|
||||||
var isReadingTaskViewInOrder = parseInt(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
var isReadingTaskViewInOrder = parseInt(this.$router.currentRoute.query.isReadingTaskViewInOrder)
|
||||||
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
|
var idx = this.visitTaskList.findIndex(i => i.VisitTaskId === this.visitTaskId)
|
||||||
this.studyList = this.visitTaskList[idx].StudyList
|
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()
|
const seriesArr = studyList.map(s => s.SeriesList).flat()
|
||||||
if (isReadingTaskViewInOrder === 2) {
|
if (isReadingTaskViewInOrder === 2) {
|
||||||
// 受试者内随机
|
// 受试者内随机
|
||||||
|
|
@ -592,12 +591,12 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Object.keys(obj).length === 0) {
|
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) {
|
if (sIdx > -1) {
|
||||||
obj.studyIndex = sIdx
|
obj.studyIndex = sIdx
|
||||||
obj.seriesIndex = 0
|
obj.seriesIndex = 0
|
||||||
obj.series = studyList[obj.studyIndex].SeriesList[obj.seriesIndex]
|
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.series.imageIdIndex = imageIdIndex >= 0 ? imageIdIndex : 0
|
||||||
// obj.seriesId = series.seriesId
|
// obj.seriesId = series.seriesId
|
||||||
obj.isMarked = false
|
obj.isMarked = false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue