From c73297003ffb834ed8ab10dfa829c24677c578d7 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Fri, 27 Sep 2024 14:48:07 +0800 Subject: [PATCH] 1 --- .../trials-panel/reading/dicoms/components/DicomViewer.vue | 4 ++-- .../reading/dicoms/customize/CustomizeDicomViewer.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 f6ac386f..90fca6c6 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 - this.uploadSubjectId = this.$route.query.subjectId + this.uploadSubjectCode = this.$route.query.subjectCode||localStorage.getItem("subjectCode") + this.uploadSubjectId = this.$route.query.subjectId||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 2392b460..80645b29 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 - this.uploadSubjectId = this.$route.query.subjectId + this.uploadSubjectCode = this.$route.query.subjectCode||localStorage.getItem("subjectCode") + this.uploadSubjectId = this.$route.query.subjectId||localStorage.getItem("subjectId") this.uploadTrialCriterion = this.trialCriterion this.uploadStatus = status this[`${status}ImageVisible`] = true