From e690aadd8a50f76cc4ec649745164579d6e014f8 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Fri, 27 Sep 2024 16:23:42 +0800 Subject: [PATCH] 1 --- src/components/downloadDicomAndNonedicom/index.vue | 3 +++ src/components/uploadDicomAndNonedicom/study-view.vue | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/downloadDicomAndNonedicom/index.vue b/src/components/downloadDicomAndNonedicom/index.vue index 560f4b80..aad5f4d0 100644 --- a/src/components/downloadDicomAndNonedicom/index.vue +++ b/src/components/downloadDicomAndNonedicom/index.vue @@ -142,6 +142,7 @@ :modelList="modelList" :bodyPart="bodyPart" :IsDicom="IsDicom" + :visitTaskId="modelTaskId" /> @@ -217,6 +218,7 @@ export default { downloadId: null, IsReadingTaskViewInOrder: 0, // 阅片规则 bodyPart: [], + modelTaskId: null, } }, async mounted() { @@ -442,6 +444,7 @@ export default { data.SourceSubjectVisitId = item.SourceSubjectVisitId }) } + this.modelTaskId = item.VisitTaskId this.IsDicom = item.IsDicom this.model_cfg.visible = true }, diff --git a/src/components/uploadDicomAndNonedicom/study-view.vue b/src/components/uploadDicomAndNonedicom/study-view.vue index 6aac7b24..272e45fc 100644 --- a/src/components/uploadDicomAndNonedicom/study-view.vue +++ b/src/components/uploadDicomAndNonedicom/study-view.vue @@ -136,6 +136,9 @@ export default { return [] }, }, + visitTaskId: { + type: String, + }, IsDicom: { required: true, type: Boolean, @@ -152,7 +155,7 @@ export default { if (this.IsDicom) { var token = getToken() routeData = this.$router.resolve({ - path: `/showdicom?studyId=${row.Id}&TokenKey=${token}&type=Study`, + path: `/showdicom?studyId=${row.Id}&TokenKey=${token}&type=Study&visitTaskId=${this.visitTaskId}`, }) } else { let trialId = this.$route.query.trialId