影像质控时,可以下载阅片影像
continuous-integration/drone/push Build is pending Details

main
wangxiaoshuang 2026-05-26 13:45:06 +08:00
parent e5f7ad3b31
commit e48c00f817
1 changed files with 18 additions and 1 deletions

View File

@ -53,6 +53,14 @@
style="margin-left: 10px" @click="getCRCUploadedStudyInfo('dicom')">
{{ $t('trials:audit:button:downLoadAllDiocms') }}
</el-button>
<!-- 下载阅片影像 -->
<el-button v-if="
IsSupportQCDownloadImage &&
!hasPermi(['role:spm'])
" :loading="downloading" :disabled="selectTableDicom.length <= 0" size="small" type="primary"
style="margin-left: 10px" @click="getCRCUploadedStudyInfo('dicom', true)">
{{ $t('trials:audit:button:downLoadReadingDiocms') }}
</el-button>
<!-- 下载工具 -->
<el-button v-if="
IsSupportQCDownloadImage &&
@ -267,6 +275,14 @@
style="margin-left: 10px" @click="getCRCUploadedStudyInfo('noneDicom')">
{{ $t('trials:audit:button:downLoadAllNonDiocms') }}
</el-button>
<!-- 下载阅片影像 -->
<el-button v-if="
IsSupportQCDownloadImage &&
!hasPermi(['role:spm'])
" :loading="downloading" :disabled="selectTableNonedicom.length <= 0" size="small" type="primary"
style="margin-left: 10px" @click="getCRCUploadedStudyInfo('noneDicom', true)">
{{ $t('trials:audit:button:downLoadReadingNonDiocms') }}
</el-button>
<!-- 预览 -->
<el-button size="small" :disabled="noneDicomStudyList.length === 0" type="primary"
style="margin-left: 10px" @click="handleViewAllNoneDicoms(false)">
@ -1153,13 +1169,14 @@ export default {
this.selectTableNonedicom = val
},
//
async getCRCUploadedStudyInfo(type) {
async getCRCUploadedStudyInfo(type, isReading = null) {
if (this.downloading) return
try {
let data = {
SubjectVisitId: this.data.Id,
NoneDicomStudyIdList: [],
DicomStudyIdList: [],
IsExportReading: isReading
}
if (type === 'tools') {
return this.handleDownload()