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 7613cd67..072e4e95 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 @@ -1274,9 +1274,13 @@ export default { let blob = await scope.dicomToPng(fileId, v.instanceList[0].imageColumns, v.instanceList[0].imageRows) let thumbnailPath = `/${params.trialId}/Image/${params.siteId}/${params.subjectId}/${params.subjectVisitId}/${dicomInfo.studyUid}/${v.seriesUid}.png` let OSSclient = scope.OSSclient - let seriesRes = await OSSclient.put(thumbnailPath, blob) - if (seriesRes && seriesRes.url) { - o.ImageResizePath = scope.$getObjectName(seriesRes.url) + try { + let seriesRes = await OSSclient.put(thumbnailPath, blob) + if (seriesRes && seriesRes.url) { + o.ImageResizePath = scope.$getObjectName(seriesRes.url) + } + } catch (e) { + console.log(e) } } }