影像浏览页面更改
continuous-integration/drone/push Build is passing Details

uat_us
caiyiling 2024-05-09 10:13:26 +08:00
parent 75f8018fc8
commit 5cc38ada71
2 changed files with 15 additions and 15 deletions

View File

@ -393,7 +393,7 @@ export default {
this.customWwc = { visible: false, title: this.$t('DicomViewer:data:customWwc') }
this.rotateList[0] = '1'
this.colorList[0] = ''
this.wwwcList[0] = '1'
this.wwwcList[0] = '-1'
this.colormapsList = cornerstone.colors.getColormapsList()
this.currentDicomCanvas = this.$refs['dicomCanvas0']
},
@ -444,7 +444,7 @@ export default {
this.colorList[this.currentDicomCanvasIndex] = ''
}
if (!this.wwwcList[this.currentDicomCanvasIndex]) {
this.wwwcList[this.currentDicomCanvasIndex] = '1'
this.wwwcList[this.currentDicomCanvasIndex] = '-1'
}
}
},

View File

@ -301,19 +301,19 @@ export default {
this.isShow = false
this.visitTaskId = res.Result.VisitTaskId
// DicomEvent.$emit('getCustomTableQuestionAnswer', res.Result.VisitTaskId)
if (this.subjectId !== res.Result.SubjectId) {
store.dispatch('reading/resetVisitTasks')
var token = getToken()
window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}&isNewSubject=1`
return
} else if (!this.isReadingTaskViewInOrder || res.Result.ReadingCategory !== 1) {
store.dispatch('reading/resetVisitTasks')
if (this.firstTaskReadingCategory) {
const token = getToken()
window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}`
return
}
}
// if (this.subjectId !== res.Result.SubjectId) {
// store.dispatch('reading/resetVisitTasks')
// var token = getToken()
// window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}&isNewSubject=1`
// return
// } else if (!this.isReadingTaskViewInOrder || res.Result.ReadingCategory !== 1) {
// store.dispatch('reading/resetVisitTasks')
// if (this.firstTaskReadingCategory) {
// const token = getToken()
// window.location.href = `/readingDicoms?TrialReadingCriterionId=${this.TrialReadingCriterionId}&trialId=${this.trialId}&subjectCode=${res.Result.SubjectCode}&subjectId=${res.Result.SubjectId}&isReadingTaskViewInOrder=${this.isReadingTaskViewInOrder}&criterionType=${this.criterionType}&readingTool=${this.readingTool}&TokenKey=${token}`
// return
// }
// }
this.subjectId = res.Result.SubjectId
this.subjectCode = res.Result.SubjectCode
this.taskBlindName = res.Result.TaskBlindName