后处理下载处理
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2370c25ed7
commit
42652cd9ee
|
@ -24,8 +24,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!--上传列表@selection-change="handleSelectionChange" @sort-change="handleSortByColumn"-->
|
<!--上传列表@selection-change="handleSelectionChange" @sort-change="handleSortByColumn"-->
|
||||||
<el-table ref="dicomFilesTable" v-adaptive="{ bottomOffset: 85 }" height="100" :data="list" :loading="loading"
|
<el-table ref="dicomFilesTable" v-adaptive="{ bottomOffset: 85 }" height="100" :data="list" :loading="loading"
|
||||||
class="dicomFiles-table"
|
class="dicomFiles-table" :default-sort="{ prop: 'TaskBlindName', order: 'descending' }">
|
||||||
:default-sort="{ prop: 'TaskBlindName', order: 'descending' }">
|
|
||||||
<!-- <el-table-column
|
<!-- <el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
|
@ -298,15 +297,36 @@ 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) => {
|
||||||
|
if (study.StudyDIRPath) {
|
||||||
|
let obj = {
|
||||||
|
name: `${data.SubjectCode}/${data.TaskBlindName
|
||||||
|
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
||||||
|
}/DICOMDIR`,
|
||||||
|
url: this.OSSclientConfig.basePath + study.StudyDIRPath,
|
||||||
|
}
|
||||||
|
if (this.IsReadingTaskViewInOrder === 0) {
|
||||||
|
obj = {
|
||||||
|
name: `${data.TaskBlindName}/${this.$fd(
|
||||||
|
'IsDicom',
|
||||||
|
true
|
||||||
|
)}/DICOMDIR`,
|
||||||
|
url: this.OSSclientConfig.basePath + study.StudyDIRPath,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
files.push(obj)
|
||||||
|
}
|
||||||
if (study.SeriesList.length > 0) {
|
if (study.SeriesList.length > 0) {
|
||||||
study.SeriesList.forEach((series) => {
|
study.SeriesList.forEach((series) => {
|
||||||
if (series.InstancePathList.length > 0) {
|
if (series.InstancePathList.length > 0) {
|
||||||
series.InstancePathList.forEach((instance) => {
|
series.InstancePathList.forEach((instance) => {
|
||||||
let fileName = instance.Path.split('/').pop()
|
let fileName = instance.Path.split('/').pop()
|
||||||
|
if (instance.FileName) {
|
||||||
|
fileName = instance.FileName
|
||||||
|
}
|
||||||
let obj = {
|
let obj = {
|
||||||
name: `${data.SubjectCode}/${data.TaskBlindName
|
name: `${data.SubjectCode}/${data.TaskBlindName
|
||||||
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
}/${this.$fd('IsDicom', true)}/${study.StudyCode
|
||||||
}/${fileName}`,
|
}/IMAGE/${fileName}`,
|
||||||
url: this.OSSclientConfig.basePath + instance.Path,
|
url: this.OSSclientConfig.basePath + instance.Path,
|
||||||
}
|
}
|
||||||
if (this.IsReadingTaskViewInOrder === 0) {
|
if (this.IsReadingTaskViewInOrder === 0) {
|
||||||
|
@ -314,7 +334,7 @@ export default {
|
||||||
name: `${data.TaskBlindName}/${this.$fd(
|
name: `${data.TaskBlindName}/${this.$fd(
|
||||||
'IsDicom',
|
'IsDicom',
|
||||||
true
|
true
|
||||||
)}/${fileName}`,
|
)}/IMAGE/${fileName}`,
|
||||||
url: this.OSSclientConfig.basePath + instance.Path,
|
url: this.OSSclientConfig.basePath + instance.Path,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue