From e457df9325dbeb7bd7ddcd550876ef757ae57879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Wed, 13 Mar 2024 13:28:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=BF=9B=E5=BA=A6=E6=9D=A1?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/uploadDicomFiles2.vue | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue index 07a295fe..88c41778 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue @@ -1171,6 +1171,28 @@ export default { dicomInfo.failedFileCount++ Record.Existed.push(name) Record.FileCount++ + } else if (o.myPath) { + instanceList.push({ + studyInstanceUid: dicomInfo.studyUid, + seriesInstanceUid: v.seriesUid, + sopInstanceUid: o.instanceUid, + instanceNumber: o.instanceNumber, + instanceTime: o.instanceTime, + imageRows: o.imageRows, + imageColumns: o.imageColumns, + sliceLocation: o.sliceLocation, + sliceThickness: o.sliceThickness, + numberOfFrames: o.numberOfFrames, + pixelSpacing: o.pixelSpacing, + imagerPixelSpacing: o.imagerPixelSpacing, + frameOfReferenceUID: o.frameOfReferenceUID, + windowCenter: o.windowCenter, + windowWidth: o.windowWidth, + path: o.myPath + }) + Record.Uploaded.push(name) + dicomInfo.failedFileCount++ + Record.FileCount++ } else { let path = `/${params.trialId}/Image/${params.siteId}/${params.subjectId}/${params.subjectVisitId}/${dicomInfo.studyUid}/${scope.getGuid(dicomInfo.studyUid + v.seriesUid + o.instanceUid + params.trialId)}` let res = await dcmUpload(path, o.file, config) @@ -1213,6 +1235,7 @@ export default { windowWidth: o.windowWidth, path: scope.$getObjectName(res.url) }) + o.myPath = scope.$getObjectName(res.url) Record.Uploaded.push(name) dicomInfo.failedFileCount++ Record.FileCount++