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) {
|
switch (res.Result.ObjectStoreUse) {
|
||||||
case 'AliyunOSS':
|
case 'AliyunOSS':
|
||||||
Vue.prototype.OSSclientConfig.bucket = Vue.prototype.OSSclientConfig.bucketName
|
Vue.prototype.OSSclientConfig.bucket = Vue.prototype.OSSclientConfig.bucketName
|
||||||
|
Vue.prototype.OSSclientConfig.stsToken = Vue.prototype.OSSclientConfig.securityToken
|
||||||
Vue.prototype.OSSclientConfig.timeout = 10 * 60 * 1000
|
Vue.prototype.OSSclientConfig.timeout = 10 * 60 * 1000
|
||||||
let OSSclient = new OSS(Vue.prototype.OSSclientConfig)
|
let OSSclient = new OSS(Vue.prototype.OSSclientConfig)
|
||||||
Vue.prototype.OSSclient = {
|
Vue.prototype.OSSclient = {
|
||||||
|
|
|
@ -1291,6 +1291,7 @@ export default {
|
||||||
windowWidth: data.string('x00281051') || '',
|
windowWidth: data.string('x00281051') || '',
|
||||||
modality: data.string('x00080060') || '',
|
modality: data.string('x00080060') || '',
|
||||||
file: file,
|
file: file,
|
||||||
|
FileSize: file.size,
|
||||||
}
|
}
|
||||||
instanceList.push(instanceItem)
|
instanceList.push(instanceItem)
|
||||||
}
|
}
|
||||||
|
@ -1661,6 +1662,7 @@ export default {
|
||||||
windowCenter: o.windowCenter,
|
windowCenter: o.windowCenter,
|
||||||
windowWidth: o.windowWidth,
|
windowWidth: o.windowWidth,
|
||||||
path: o.myPath,
|
path: o.myPath,
|
||||||
|
FileSize: o.FileSize,
|
||||||
})
|
})
|
||||||
Record.Uploaded.push(name)
|
Record.Uploaded.push(name)
|
||||||
dicomInfo.failedFileCount++
|
dicomInfo.failedFileCount++
|
||||||
|
@ -1741,6 +1743,7 @@ export default {
|
||||||
windowCenter: o.windowCenter,
|
windowCenter: o.windowCenter,
|
||||||
windowWidth: o.windowWidth,
|
windowWidth: o.windowWidth,
|
||||||
path: scope.$getObjectName(res.url),
|
path: scope.$getObjectName(res.url),
|
||||||
|
FileSize: o.FileSize,
|
||||||
})
|
})
|
||||||
o.myPath = scope.$getObjectName(res.url)
|
o.myPath = scope.$getObjectName(res.url)
|
||||||
Record.Uploaded.push(name)
|
Record.Uploaded.push(name)
|
||||||
|
|
Loading…
Reference in New Issue