crc上传dicom添加FileSize
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1a8653b47e
commit
e517556808
|
@ -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 = {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue