影像汇总新增阅片影像大小字段、导出阅片影像功能
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3334e24c66
commit
06e876619f
|
@ -33,6 +33,10 @@
|
|||
v-if="hasPermi(['trials:trials-panel:trial-summary:image-summary:exportImage'])">
|
||||
{{ $t('trials:imageSummary:button:export_dicom') }}
|
||||
</el-button>
|
||||
<el-button type="primary" @click="handleExportImage(false, true)" :disabled="selectArr.length <= 0"
|
||||
v-if="hasPermi(['trials:trials-panel:trial-summary:image-summary:exportImage'])">
|
||||
{{ $t('trials:imageSummary:button:export_readingDicom') }}
|
||||
</el-button>
|
||||
<el-button type="primary" @click="handleExportImage(true)" :disabled="selectArr.length <= 0"
|
||||
v-if="hasPermi(['trials:trials-panel:trial-summary:image-summary:exportKeyImage'])">
|
||||
{{ $t('trials:imageSummary:button:export_image') }}
|
||||
|
@ -79,6 +83,10 @@
|
|||
<el-table-column prop="TotalImageSizeStr" min-width="120"
|
||||
:label="$t('trials:imageSummary:table:TotalImageSizeStr')" show-overflow-tooltip
|
||||
sortable="custom" />
|
||||
<!-- 阅片影像大小 -->
|
||||
<el-table-column prop="TotalReadingImageSizeStr" min-width="120"
|
||||
:label="$t('trials:imageSummary:table:TotalReadingImageSizeStr')" show-overflow-tooltip
|
||||
sortable="custom" />
|
||||
<!-- 最早拍片日期 -->
|
||||
<el-table-column prop="EarliestScanDate" min-width="120"
|
||||
:label="$t('trials:imageSummary:table:EarliestScanDate')" show-overflow-tooltip sortable="custom" />
|
||||
|
@ -102,7 +110,9 @@
|
|||
<span>{{ $t('trials:imageSummary:remark:SubjectImageAVGSizeStr') }}</span>
|
||||
<span class="size">{{ image_size.SubjectImageAVGSizeStr }} </span>,
|
||||
<span>{{ $t('trials:imageSummary:remark:SubjectVisitImageAVGSizeStr') }}</span>
|
||||
<span class="size">{{ image_size.SubjectVisitImageAVGSizeStr }}</span>,
|
||||
<span class="size">{{ image_size.SubjectVisitImageAVGSizeStr }}</span><span>{{ `; ` }}</span>
|
||||
<span>{{ $t('trials:imageSummary:remark:TotalReadingImageSizeStr') }}</span>
|
||||
<span class="size">{{ image_size.TotalReadingImageSizeStr }} </span><span>{{ `; ` }}</span>
|
||||
<span>{{ $t('trials:imageSummary:remark:CheckImageSize') }}</span>
|
||||
<span class="size">{{ image_size.CheckImageSize }} </span>
|
||||
</div>
|
||||
|
@ -144,6 +154,7 @@ export default {
|
|||
TotalImageSizeStr: null,
|
||||
SubjectImageAVGSizeStr: null,
|
||||
SubjectVisitImageAVGSizeStr: null,
|
||||
TotalReadingImageSizeStr: null,
|
||||
CheckImageSize: null
|
||||
}
|
||||
}
|
||||
|
@ -179,11 +190,12 @@ export default {
|
|||
}
|
||||
},
|
||||
// 导出影像或关键图
|
||||
async handleExportImage(IsKeyImage = false) {
|
||||
async handleExportImage(IsKeyImage = false, IsExportReading = false) {
|
||||
try {
|
||||
let data = {
|
||||
TrialId: this.$route.query.trialId,
|
||||
IsKeyImage
|
||||
IsKeyImage,
|
||||
IsExportReading
|
||||
}
|
||||
data.SubjectVisitIdList = this.selectArr.map(item => item.SubjectVisitId)
|
||||
if (!IsKeyImage) {
|
||||
|
@ -287,6 +299,7 @@ export default {
|
|||
this.image_size.TotalImageSizeStr = res.Result.TotalImageSizeStr;
|
||||
this.image_size.SubjectImageAVGSizeStr = res.Result.SubjectImageAVGSizeStr;
|
||||
this.image_size.SubjectVisitImageAVGSizeStr = res.Result.SubjectVisitImageAVGSizeStr;
|
||||
this.image_size.TotalReadingImageSizeStr = res.Result.TotalReadingImageSizeStr;
|
||||
}
|
||||
} catch (err) {
|
||||
this.loading = false
|
||||
|
|
Loading…
Reference in New Issue