From fd683d74f928c78b4586044f78742cb598065288 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 28 Jul 2025 14:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E4=BA=8E=E9=80=9A=E8=BF=87DICOM=20AE?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E7=9A=84=E5=BD=B1=E5=83=8F=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=8C=89=E6=A3=80=E6=9F=A5=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reading.js | 5 +- src/views/dicom-show/dicom-study.vue | 17 +- .../crc-upload/components/uploadDiocmPacs.vue | 190 +++++------------- 3 files changed, 67 insertions(+), 145 deletions(-) diff --git a/src/api/reading.js b/src/api/reading.js index 9202af20..65b9ecb2 100644 --- a/src/api/reading.js +++ b/src/api/reading.js @@ -45,10 +45,11 @@ export function saveImageLabelList(param) { }) } -export function getStudyInfo(studyId) { +export function getStudyInfo(studyId, params) { return request({ url: `/Study/item/${studyId}`, - method: 'get' + method: 'get', + params }) } export function getSeriesList(url) { diff --git a/src/views/dicom-show/dicom-study.vue b/src/views/dicom-show/dicom-study.vue index a6f761c4..8dac860a 100644 --- a/src/views/dicom-show/dicom-study.vue +++ b/src/views/dicom-show/dicom-study.vue @@ -194,7 +194,8 @@ export default { currentLoadIns: [], isFromCRCUpload: false, isReading: null, - activeSeriesId: null + activeSeriesId: null, + isPacs: false } }, created: function () { @@ -211,6 +212,9 @@ export default { if (this.$router.currentRoute.query.isReading) { this.isReading = this.$router.currentRoute.query.isReading } + if (this.$router.currentRoute.query.isPacs) { + this.isPacs = Boolean(this.$router.currentRoute.query.isPacs) + } this.studyId = this.$router.currentRoute.query.studyId this.isFromCRCUpload = !!this.$router.currentRoute.query.isFromCRCUpload if (this.type === 'Series') { @@ -241,7 +245,11 @@ export default { }, methods: { async loadStudy() { - const data = await getStudyInfo(this.studyId) + let params = {} + if (this.isPacs) { + params.IsPacs = true + } + const data = await getStudyInfo(this.studyId, params) if (data.IsSuccess) { if (data.Result) { this.studyCode = data.Result.StudyCode @@ -250,6 +258,11 @@ export default { this.description = data.Result.Description } let isReading = !!this.isReading ? `?IsReading=true` : '' + if (isReading && this.isPacs) { + isReading += `&IsPacs=true` + } else if (!isReading && this.isPacs) { + isReading = `?IsPacs=true` + } const url = `/series/list/${this.studyId}${isReading}` this.getSeriesList(url) } diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDiocmPacs.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDiocmPacs.vue index ee7b8868..005a8721 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDiocmPacs.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDiocmPacs.vue @@ -3,96 +3,47 @@ - - + + - + - + - - + + {{ $t("common:button:search") }} - + {{ $t("common:button:reset") }} - + {{ $t("common:button:add") }} - + - + @@ -106,10 +57,8 @@ - PID: {{ scope.row.PatientIdStr }} + PID: {{ scope.row.PatientIdStr + }} N/A @@ -138,91 +87,42 @@ - + - + - + - + - + - + - + + - {{ $t("common:button:add") }} + - + - - \ No newline at end of file + \ No newline at end of file