下载记录列表

main
wangxiaoshuang 2024-11-22 17:00:12 +08:00
parent 4f715890a1
commit bb4b0011ef
1 changed files with 4 additions and 4 deletions

View File

@ -163,7 +163,7 @@
<!--下载图像数量--->
<el-table-column
:label="$t('trials:downloadRecord:table:VisitImageFileCount')"
prop="VisitImageFileCount"
prop="ImageCount"
min-width="90"
show-overflow-tooltip
sortable="custom"
@ -171,15 +171,15 @@
<!--下载图像大小--->
<el-table-column
:label="$t('trials:downloadRecord:table:VisitImageFileSize')"
prop="VisitImageZipSize"
prop="ImageSize"
min-width="90"
show-overflow-tooltip
sortable="custom"
>
<template slot-scope="scope">
<span>{{
scope.row.VisitImageZipSize && scope.row.VisitImageZipSize > 0
? `${(scope.row.VisitImageZipSize / 1024 / 1024).toFixed(2)}MB`
scope.row.ImageSize && scope.row.ImageSize > 0
? `${(scope.row.ImageSize / 1024 / 1024).toFixed(2)}MB`
: 0
}}</span>
</template>