上传更改
parent
9dcbad7616
commit
4c642cd814
|
|
@ -955,7 +955,7 @@ export default {
|
|||
var instanceItem = instanceList.find(function (item) {
|
||||
return item.instanceUid === instanceUid
|
||||
})
|
||||
if (!instanceItem) {
|
||||
if (!false) {
|
||||
var date = data.string('x00080023')
|
||||
var time = data.string('x00080033')
|
||||
var instanceTime = ''
|
||||
|
|
@ -1251,12 +1251,12 @@ export default {
|
|||
try {
|
||||
let o = v.instanceList[ii]
|
||||
let name = `${v.instanceList[ii].file.webkitRelativePath}_${v.instanceList[ii].instanceUid}`
|
||||
if (o.isReUpload) {
|
||||
dicomInfo.failedFileCount++
|
||||
dicomInfo.uploadFileSize += o.file.size
|
||||
Record.Existed.push(name)
|
||||
Record.FileCount++
|
||||
}
|
||||
// if (o.isReUpload) {
|
||||
// dicomInfo.failedFileCount++
|
||||
// dicomInfo.uploadFileSize += o.file.size
|
||||
// Record.Existed.push(name)
|
||||
// Record.FileCount++
|
||||
// }
|
||||
// else if (o.myPath) {
|
||||
// instanceList.push({
|
||||
// studyInstanceUid: dicomInfo.studyUid,
|
||||
|
|
@ -1304,7 +1304,7 @@ export default {
|
|||
// dicomInfo.failedFileCount++
|
||||
// Record.FileCount++
|
||||
// }
|
||||
else {
|
||||
// else {
|
||||
let path = `/${params.trialId}/Image/${params.subjectId
|
||||
}/${params.subjectVisitId}/${dicomInfo.visitTaskId
|
||||
}/${scope.getGuid(
|
||||
|
|
@ -1445,7 +1445,7 @@ export default {
|
|||
Record.Failed.push(name)
|
||||
Record.FileCount++
|
||||
}
|
||||
}
|
||||
// }
|
||||
resolve1()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
|
|
|
|||
|
|
@ -1144,7 +1144,7 @@ export default {
|
|||
var instanceItem = instanceList.find(function (item) {
|
||||
return item.instanceUid === instanceUid
|
||||
})
|
||||
if (!instanceItem) {
|
||||
if (!false) {
|
||||
var date = data.string('x00080023')
|
||||
var time = data.string('x00080033')
|
||||
var instanceTime = ''
|
||||
|
|
@ -1572,12 +1572,12 @@ export default {
|
|||
try {
|
||||
let o = v.instanceList[ii]
|
||||
let name = `${v.instanceList[ii].file.webkitRelativePath}_${v.instanceList[ii].instanceUid}`
|
||||
if (o.isReUpload) {
|
||||
dicomInfo.failedFileCount++
|
||||
dicomInfo.uploadFileSize += o.file.size
|
||||
Record.Existed.push(name)
|
||||
Record.FileCount++
|
||||
}
|
||||
// if (o.isReUpload) {
|
||||
// dicomInfo.failedFileCount++
|
||||
// dicomInfo.uploadFileSize += o.file.size
|
||||
// Record.Existed.push(name)
|
||||
// Record.FileCount++
|
||||
// }
|
||||
// else if (o.myPath) {
|
||||
// instanceList.push({
|
||||
// studyInstanceUid: dicomInfo.studyUid,
|
||||
|
|
@ -1625,7 +1625,7 @@ export default {
|
|||
// dicomInfo.failedFileCount++
|
||||
// Record.FileCount++
|
||||
// }
|
||||
else {
|
||||
// else {
|
||||
let path = `/${params.trialId}/Image/${params.subjectId
|
||||
}/${params.subjectVisitId}/${dicomInfo.studyUid
|
||||
}/${scope.getGuid(
|
||||
|
|
@ -1763,7 +1763,7 @@ export default {
|
|||
Record.Failed.push(name)
|
||||
Record.FileCount++
|
||||
}
|
||||
}
|
||||
// }
|
||||
resolve1()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
|
|
|
|||
Loading…
Reference in New Issue