diff --git a/src/views/trials/trials-panel/setting/qc-question/index.vue b/src/views/trials/trials-panel/setting/qc-question/index.vue index 2f70cd6e..88fe8759 100644 --- a/src/views/trials/trials-panel/setting/qc-question/index.vue +++ b/src/views/trials/trials-panel/setting/qc-question/index.vue @@ -67,7 +67,7 @@ {{ $t('common:button:batchDelete') }} 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 8626c8ab..2011f24c 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 @@ -265,9 +265,9 @@ >
- {{$t('trials:uploadDicomList:table:Existed')}} + {{$t('trials:uploadDicomList:table:Existed')}}:
- {{item}} +
{{item}}
- 无 +  
- {{$t('trials:uploadDicomList:table:Uploaded')}} + {{$t('trials:uploadDicomList:table:Uploaded')}}:
- {{item}} +
{{item}}
- 无 +  

- {{$t('trials:uploadDicomList:table:Failed')}} + {{$t('trials:uploadDicomList:table:Failed')}}:
- {{item}} +
{{item}}
- 无 +  
-
{{ scope.row.uploadState.record.Existed.length }}/{{ scope.row.uploadState.record.Uploaded.length }}/{{ scope.row.uploadState.record.Failed.length }}
+ + {{ scope.row.uploadState.record.Existed.length }} + / + {{ scope.row.uploadState.record.Uploaded.length }} + / + {{ scope.row.uploadState.record.Failed.length }} +
@@ -1189,6 +1195,24 @@ export default { let logJsonBlob = scope.generateTxtFile(text) let logJsonObjectName = `/${params.trialId}/Image/${params.siteId}/${params.subjectId}/${params.subjectVisitId}/${dicomInfo.studyUid}/${params.studyMonitorId}.txt` let logRes = await scope.OSSclient.put(logJsonObjectName, logJsonBlob) + for (let i = 0; i < seriesList.length; i++) { + let v = seriesList[i] + let o = params.study.seriesList.find(o => { + return o.seriesInstanceUid === v.seriesUid + }) + if (o && !o.ImageResizePath) { + let fileId = cornerstoneWADOImageLoader.wadouri.fileManager.add( + v.instanceList[0].file + ) + 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}/${v.seriesUid}.png` + let OSSclient = scope.OSSclient + let seriesRes = await OSSclient.put(thumbnailPath, blob) + if (seriesRes && seriesRes.url) { + o.ImageResizePath = scope.$getObjectName(seriesRes.url) + } + } + } if (logRes && logRes.url) { params.study.instanceCount = dicomInfo.failedFileCount params.RecordPath = scope.$getObjectName(logRes.url)