crc上传dicom添加FileSize
continuous-integration/drone/push Build is passing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-09-03 14:12:39 +08:00
parent 1a8653b47e
commit e517556808
2 changed files with 4 additions and 0 deletions

View File

@ -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 = {

View File

@ -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)