修改下载单个检查下的影像
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
b409d6696f
commit
653d953ff8
|
@ -156,7 +156,7 @@ export default {
|
||||||
showSeriesList: []
|
showSeriesList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created: function() {
|
||||||
this.type = this.$router.currentRoute.query.type ? this.$router.currentRoute.query.type : ''
|
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
|
this.visitNum = this.$router.currentRoute.query.visitNum ? parseInt(this.$router.currentRoute.query.visitNum) : 0
|
||||||
|
@ -176,28 +176,6 @@ export default {
|
||||||
this.loadStudy()
|
this.loadStudy()
|
||||||
} else if (this.type === 'Share') {
|
} else if (this.type === 'Share') {
|
||||||
this.loadStudy()
|
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() {
|
beforeDestroy() {
|
||||||
|
@ -270,8 +248,6 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
initSeries() {
|
initSeries() {
|
||||||
try {
|
|
||||||
console.log(0)
|
|
||||||
var scope = this
|
var scope = this
|
||||||
this.studyCode = this.$router.currentRoute.query.studyCode
|
this.studyCode = this.$router.currentRoute.query.studyCode
|
||||||
this.modality = this.$router.currentRoute.query.modality
|
this.modality = this.$router.currentRoute.query.modality
|
||||||
|
@ -282,7 +258,6 @@ export default {
|
||||||
var subjectVisitId = this.$router.currentRoute.query.subjectVisitId
|
var subjectVisitId = this.$router.currentRoute.query.subjectVisitId
|
||||||
var studyId = this.$router.currentRoute.query.studyId
|
var studyId = this.$router.currentRoute.query.studyId
|
||||||
var trialId = this.$router.currentRoute.query.trialId
|
var trialId = this.$router.currentRoute.query.trialId
|
||||||
console.log(1)
|
|
||||||
getInstanceList(seriesId).then(res => {
|
getInstanceList(seriesId).then(res => {
|
||||||
if (!res.Result || (res.Result && res.Result.length === 0)) return
|
if (!res.Result || (res.Result && res.Result.length === 0)) return
|
||||||
var seriesInstanceUid = res.Result[0].SeriesInstanceUid
|
var seriesInstanceUid = res.Result[0].SeriesInstanceUid
|
||||||
|
@ -322,7 +297,6 @@ export default {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} catch (e) {console.log(e)}
|
|
||||||
},
|
},
|
||||||
showSeriesImage(e, seriesIndex, series) {
|
showSeriesImage(e, seriesIndex, series) {
|
||||||
// if (seriesIndex === this.currentSeriesIndex) return
|
// if (seriesIndex === this.currentSeriesIndex) return
|
||||||
|
|
Loading…
Reference in New Issue