1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f2e5f0810c
commit
081c82283d
|
|
@ -338,18 +338,19 @@ export default {
|
|||
patient.StudyList.forEach((study) => {
|
||||
if (Array.isArray(study.SeriesList) && study.SeriesList.length > 0) {
|
||||
study.SeriesList.forEach((series) => {
|
||||
if (study.StudyDIRPath && !study.dirHas) {
|
||||
study.dirHas = true
|
||||
let obj = {
|
||||
name: `${study.PatientId}/${study.StudyTime.split(' ')[0]}_${series.Modality
|
||||
}/DICOMDIR`,
|
||||
url: this.OSSclientConfig.basePath + study.StudyDIRPath,
|
||||
}
|
||||
files.push(obj)
|
||||
}
|
||||
if (
|
||||
Array.isArray(series.InstanceList) &&
|
||||
series.InstanceList.length > 0
|
||||
) {
|
||||
if (study.StudyDIRPath) {
|
||||
let obj = {
|
||||
name: `${study.PatientId}/${study.StudyTime.split(' ')[0]}_${series.Modality
|
||||
}/DICOMDIR`,
|
||||
url: this.OSSclientConfig.basePath + study.StudyDIRPath,
|
||||
}
|
||||
files.push(obj)
|
||||
}
|
||||
series.InstanceList.forEach((instance) => {
|
||||
let fileName = instance.FileName || instance.Path.split('/').pop()
|
||||
let obj = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue