修改下载单个检查下的影像
continuous-integration/drone/push Build was killed Details

uat_us
caiyiling 2024-01-29 15:57:16 +08:00
parent b409d6696f
commit 653d953ff8
1 changed files with 49 additions and 75 deletions

View File

@ -156,7 +156,7 @@ export default {
showSeriesList: []
}
},
created() {
created: function() {
this.type = this.$router.currentRoute.query.type ? this.$router.currentRoute.query.type : ''
this.visitNum = this.$router.currentRoute.query.visitNum ? parseInt(this.$router.currentRoute.query.visitNum) : 0
@ -176,28 +176,6 @@ export default {
this.loadStudy()
} else if (this.type === 'Share') {
this.loadStudy()
try {
this.type = this.$route.query.type ? this.$route.query.type : ''
this.visitNum = this.$router.currentRoute.query.visitNum ? parseInt(this.$router.currentRoute.query.visitNum) : 0
cornerstone.events.addEventListener('cornerstoneimageloaded', this.cornerstoneImageLoaded)
// cornerstone.events.addEventListener('datasetscachechanged', this.datasetsCacheChanged)
if (this.$router.currentRoute.query.TokenKey) {
store.dispatch('user/setToken', this.$router.currentRoute.query.TokenKey)
changeURLStatic('TokenKey', '')
}
this.studyId = this.$router.currentRoute.query.studyId
if (this.type === 'Series') {
// this.initStudy()
this.showDelete = parseInt(this.$router.currentRoute.query.showDelete)
this.initSeries()
} else if (this.type === 'Study') {
this.showDelete = parseInt(this.$router.currentRoute.query.showDelete)
this.loadStudy()
} else if (this.type === 'Share') {
this.loadStudy()
}
} catch (e) {
console.log(e)
}
},
beforeDestroy() {
@ -270,8 +248,6 @@ export default {
})
},
initSeries() {
try {
console.log(0)
var scope = this
this.studyCode = this.$router.currentRoute.query.studyCode
this.modality = this.$router.currentRoute.query.modality
@ -282,7 +258,6 @@ export default {
var subjectVisitId = this.$router.currentRoute.query.subjectVisitId
var studyId = this.$router.currentRoute.query.studyId
var trialId = this.$router.currentRoute.query.trialId
console.log(1)
getInstanceList(seriesId).then(res => {
if (!res.Result || (res.Result && res.Result.length === 0)) return
var seriesInstanceUid = res.Result[0].SeriesInstanceUid
@ -322,7 +297,6 @@ export default {
})
}
})
} catch (e) {console.log(e)}
},
showSeriesImage(e, seriesIndex, series) {
// if (seriesIndex === this.currentSeriesIndex) return