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