pacs拉取选择AE信息头部展示
continuous-integration/drone/push Build is failing Details

main
wangxiaoshuang 2024-12-19 14:25:05 +08:00
parent 8c45d239f8
commit 576b99d185
1 changed files with 37 additions and 1 deletions

View File

@ -6,7 +6,10 @@
custom-class="upload-dialog" custom-class="upload-dialog"
:before-close="beforeCloseStudyDig" :before-close="beforeCloseStudyDig"
> >
<span slot="title">{{ $t('trials:inspection:title:pullImage') }} </span> <span slot="title">
{{ $t('trials:inspection:title:pullImage') }}
<span>{{ tip }}</span>
</span>
<div class="search"> <div class="search">
<el-form :inline="true" class="base-search-form"> <el-form :inline="true" class="base-search-form">
<!-- pacsDicomAEId --> <!-- pacsDicomAEId -->
@ -523,6 +526,39 @@ export default {
}, },
} }
}, },
tip() {
if (!this.searchData.PacsDicomAEId) return ''
let message = `( ${this.$t('trials:inspection:pullImage:PacsTip')} )`
message = message.replace(
'xxx',
this.AElist.find((item) => item.Id === this.searchData.PacsDicomAEId)
.CalledAE
)
if (!this.timeFrame) {
message = message.replace(
'yyy',
this.$t('trials:inspection:pullImage:unlimit')
)
} else {
message = message.replace(
'yyy',
`${this.timeFrame}${this.$t('trials:inspection:unit:day')}`
)
}
if (!this.MaxStudyCount) {
message = message.replace(
'zzz',
this.$t('trials:inspection:pullImage:unlimit')
)
} else {
message = message.replace(
'zzz',
`${this.MaxStudyCount}${this.$t('trials:inspection:unit:article')}`
)
}
message = message.replace('kkk', this.ModalityList.join(''))
return message
},
}, },
created() { created() {
this.getAEList() this.getAEList()