diff --git a/src/utils/oss.js b/src/utils/oss.js index 72766652..7bd76414 100644 --- a/src/utils/oss.js +++ b/src/utils/oss.js @@ -22,6 +22,7 @@ async function ossGenerateSTS() { switch (res.Result.ObjectStoreUse) { case 'AliyunOSS': Vue.prototype.OSSclientConfig.bucket = Vue.prototype.OSSclientConfig.bucketName + Vue.prototype.OSSclientConfig.stsToken = Vue.prototype.OSSclientConfig.securityToken Vue.prototype.OSSclientConfig.timeout = 10 * 60 * 1000 let OSSclient = new OSS(Vue.prototype.OSSclientConfig) Vue.prototype.OSSclient = { 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 ccbcb19f..d00b004b 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 @@ -1291,6 +1291,7 @@ export default { windowWidth: data.string('x00281051') || '', modality: data.string('x00080060') || '', file: file, + FileSize: file.size, } instanceList.push(instanceItem) } @@ -1661,6 +1662,7 @@ export default { windowCenter: o.windowCenter, windowWidth: o.windowWidth, path: o.myPath, + FileSize: o.FileSize, }) Record.Uploaded.push(name) dicomInfo.failedFileCount++ @@ -1741,6 +1743,7 @@ export default { windowCenter: o.windowCenter, windowWidth: o.windowWidth, path: scope.$getObjectName(res.url), + FileSize: o.FileSize, }) o.myPath = scope.$getObjectName(res.url) Record.Uploaded.push(name)