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++