上传进度条处理
parent
f126d8c40b
commit
e457df9325
|
@ -1171,6 +1171,28 @@ export default {
|
||||||
dicomInfo.failedFileCount++
|
dicomInfo.failedFileCount++
|
||||||
Record.Existed.push(name)
|
Record.Existed.push(name)
|
||||||
Record.FileCount++
|
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 {
|
} 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 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)
|
let res = await dcmUpload(path, o.file, config)
|
||||||
|
@ -1213,6 +1235,7 @@ export default {
|
||||||
windowWidth: o.windowWidth,
|
windowWidth: o.windowWidth,
|
||||||
path: scope.$getObjectName(res.url)
|
path: scope.$getObjectName(res.url)
|
||||||
})
|
})
|
||||||
|
o.myPath = scope.$getObjectName(res.url)
|
||||||
Record.Uploaded.push(name)
|
Record.Uploaded.push(name)
|
||||||
dicomInfo.failedFileCount++
|
dicomInfo.failedFileCount++
|
||||||
Record.FileCount++
|
Record.FileCount++
|
||||||
|
|
Loading…
Reference in New Issue