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