diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue index 90fca6c6..64973ddc 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue @@ -1221,8 +1221,8 @@ export default { if (idx > -1) { this.taskId = this.visitTaskList[idx].VisitTaskId } - this.uploadSubjectCode = this.$route.query.subjectCode||localStorage.getItem("subjectCode") - this.uploadSubjectId = this.$route.query.subjectId||localStorage.getItem("subjectId") + this.uploadSubjectCode = localStorage.getItem("subjectCode") + this.uploadSubjectId = localStorage.getItem("subjectId") this.uploadTrialCriterion = this.trialCriterion this.uploadStatus = status this[`${status}ImageVisible`] = true diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue index 80645b29..c4661dcd 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue @@ -1083,8 +1083,8 @@ export default { if (idx > -1) { this.taskId = this.visitTaskList[idx].VisitTaskId } - this.uploadSubjectCode = this.$route.query.subjectCode||localStorage.getItem("subjectCode") - this.uploadSubjectId = this.$route.query.subjectId||localStorage.getItem("subjectId") + this.uploadSubjectCode = localStorage.getItem("subjectCode") + this.uploadSubjectId = localStorage.getItem("subjectId") this.uploadTrialCriterion = this.trialCriterion this.uploadStatus = status this[`${status}ImageVisible`] = true