From da4cc0a8ef36cc89346cc53c811a047cbf8cd1be Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 24 Sep 2025 09:59:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=83=A8=E4=BD=8D=E6=9C=AA?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../downloadDicomAndNonedicom/index.vue | 2 +- .../uploadDicomAndNonedicom/dicomFile.vue | 4 +- .../visit/crc-upload/components/studyInfo.vue | 316 +++++------------- .../components/uploadNonDicomFiles.vue | 1 - .../visit/qc-check/components/dicomFiles.vue | 4 +- 5 files changed, 83 insertions(+), 244 deletions(-) diff --git a/src/components/downloadDicomAndNonedicom/index.vue b/src/components/downloadDicomAndNonedicom/index.vue index 37163474..920e1a4c 100644 --- a/src/components/downloadDicomAndNonedicom/index.vue +++ b/src/components/downloadDicomAndNonedicom/index.vue @@ -154,8 +154,8 @@ export default { } }, async mounted() { - this.getList() this.bodyPart.Bodypart = await this.$getBodyPart(this.$route.query.trialId) + this.getList() this.title = `Download Images:${this.SubjectCode}(${this.Criterion.TrialReadingCriterionName})` }, beforeDestroy() { diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index 625d8df4..d0c9c48e 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -411,12 +411,10 @@ export default { TrialModality: [], } }, - created() { - this.getList() - }, async mounted() { this.trialId = this.$route.query.trialId this.bodyPart.Bodypart = await this.$getBodyPart(this.$route.query.trialId) + this.getList() this.uploadQueues = [] this.OSSclient.close() }, diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue b/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue index bb5f8c14..a24660aa 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue @@ -2,254 +2,125 @@
- + {{ $t('trials:uploadedDicoms:action:delete') }} - + {{ $t('trials:uploadedDicoms:action:preview') }}
- - + + - + - + - + - + - + - + - + - + - + - - + + - -
+
+ "> - + - + - + - + - {{ - $fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name') - }} + {{ + $fd('Bodypart', bodyPart, 'Code', BodyPart, 'Name') + }} @@ -257,57 +128,28 @@ - + - +
- - + +
@@ -360,8 +202,8 @@ export default { } }, async mounted() { - this.getStudyInfo() this.BodyPart.Bodypart = await this.$getBodyPart(this.$route.query.trialId) + this.getStudyInfo() }, methods: { // 预览临床数据 @@ -449,7 +291,7 @@ export default { this.studyLoading = true }) }) - .catch(() => {}) + .catch(() => { }) }, // 预览所有影像 handlePreviewAllFiles() { @@ -491,7 +333,7 @@ export default { this.studyLoading = true }) }) - .catch(() => {}) + .catch(() => { }) }, getBodyPart(bodyPart, other) { if (!bodyPart && !other) return '' diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue index 58ca8f30..e30ebdc4 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue @@ -413,7 +413,6 @@ export default { } }, async mounted() { - console.log(this.data) this.BodyPart.Bodypart = await this.$getBodyPart(this.$route.query.trialId) this.getNoneDicomList() this.trialBodyPartTypes = this.bodyParts ? this.bodyParts.split('|') : [] diff --git a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue index 8e8bf231..087fca9e 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue @@ -114,9 +114,9 @@ export default { BodyPart: {}, } }, - async mounted() { - this.getStudyInfo() + async created() { this.BodyPart.Bodypart = await this.$getBodyPart(this.$route.query.trialId) + this.getStudyInfo() }, methods: { // 预览临床数据