靶段标注下载dicom文件目录变更
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5bbbd9334e
commit
9448805f36
|
|
@ -336,6 +336,14 @@ export default {
|
||||||
if (data.StudyList && data.StudyList.length > 0) {
|
if (data.StudyList && data.StudyList.length > 0) {
|
||||||
let StudyList = data.StudyList
|
let StudyList = data.StudyList
|
||||||
StudyList.forEach((study) => {
|
StudyList.forEach((study) => {
|
||||||
|
let arr = []
|
||||||
|
study.SeriesList.forEach(item => {
|
||||||
|
if (!arr.includes(item.Modality)) {
|
||||||
|
arr.push(item.Modality)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
let str = arr.join('_')
|
||||||
|
let time = study.StudyTime.split(' ')[0]
|
||||||
if (study.StudyDIRPath) {
|
if (study.StudyDIRPath) {
|
||||||
let obj = {
|
let obj = {
|
||||||
name: `${data.SubjectCode}/${data.TaskBlindName
|
name: `${data.SubjectCode}/${data.TaskBlindName
|
||||||
|
|
@ -347,7 +355,7 @@ export default {
|
||||||
obj = {
|
obj = {
|
||||||
name: `${data.SubjectCode}/${data.VisitName
|
name: `${data.SubjectCode}/${data.VisitName
|
||||||
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
||||||
}/DICOMDIR`,
|
}_${time}_${str}/DICOMDIR`,
|
||||||
url: this.OSSclientConfig.basePath + study.StudyDIRPath,
|
url: this.OSSclientConfig.basePath + study.StudyDIRPath,
|
||||||
}
|
}
|
||||||
} else if (this.IsReadingTaskViewInOrder === 0) {
|
} else if (this.IsReadingTaskViewInOrder === 0) {
|
||||||
|
|
@ -380,7 +388,7 @@ export default {
|
||||||
obj = {
|
obj = {
|
||||||
name: `${data.SubjectCode}/${data.VisitName
|
name: `${data.SubjectCode}/${data.VisitName
|
||||||
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
||||||
}/IMAGE/${fileName}`,
|
}_${time}_${str}/IMAGE/${fileName}`,
|
||||||
url: this.OSSclientConfig.basePath + instance.Path,
|
url: this.OSSclientConfig.basePath + instance.Path,
|
||||||
IsEncapsulated: instance.IsEncapsulated
|
IsEncapsulated: instance.IsEncapsulated
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue