访视-影像上传拍片日期字段优化
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-10-31 11:47:16 +08:00
parent bb4193730e
commit 48ebd8e76d
1 changed files with 26 additions and 9 deletions

View File

@ -361,7 +361,7 @@
</template>
</el-table-column>
<!-- 最早拍片日期 -->
<el-table-column
<!-- <el-table-column
prop="EarliestScanDate"
:label="$t('trials:crcUpload:table:earliestScanDate')"
show-overflow-tooltip
@ -375,21 +375,38 @@
: ''
}}
</template>
</el-table-column>
<!-- 最晚拍片日期 -->
</el-table-column> -->
<!-- 最晚拍片日期 $t('trials:crcUpload:table:latestScanDate') -->
<el-table-column
prop="LatestScanDate"
:label="$t('trials:crcUpload:table:latestScanDate')"
:label="$t('trials:crcUpload:table:scanDate')"
show-overflow-tooltip
width="170"
sortable="custom"
>
<template slot-scope="scope">
{{
scope.row.LatestScanDate
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
: ''
}}
<el-tooltip
class="item"
effect="dark"
:content="`${
scope.row.EarliestScanDate
? moment(scope.row.EarliestScanDate).format('YYYY-MM-DD')
: ''
} ~ ${
scope.row.LatestScanDate
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
: ''
}`"
placement="top"
>
<span>
{{
scope.row.LatestScanDate
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD')
: ''
}}
</span>
</el-tooltip>
</template>
</el-table-column>
<!-- 提交状态 -->