dicom上传时排除DICOMDIR文件
parent
d8401d57f7
commit
15cc9c00be
|
@ -728,10 +728,14 @@ export default {
|
||||||
var p = new Promise(function(resolve) {
|
var p = new Promise(function(resolve) {
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
|
var validFilesCount = 0
|
||||||
for (var i = 0; i < files.length; ++i) {
|
for (var i = 0; i < files.length; ++i) {
|
||||||
(function(index) {
|
(function(index) {
|
||||||
p = p.then(function() {
|
p = p.then(function() {
|
||||||
|
if(files[index].name.indexOf('DICOMDIR') === -1){
|
||||||
|
validFilesCount = validFilesCount + 1
|
||||||
return scope.parseDicomFile(files[index])
|
return scope.parseDicomFile(files[index])
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})(i)
|
})(i)
|
||||||
}
|
}
|
||||||
|
@ -742,6 +746,7 @@ export default {
|
||||||
scope.scanState = 'finished'
|
scope.scanState = 'finished'
|
||||||
scope.isScan = true
|
scope.isScan = true
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 按序列UUID本地归档
|
// 按序列UUID本地归档
|
||||||
|
|
Loading…
Reference in New Issue