访视-影像上传拍片日期字段优化
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> </template>
</el-table-column> </el-table-column>
<!-- 最早拍片日期 --> <!-- 最早拍片日期 -->
<el-table-column <!-- <el-table-column
prop="EarliestScanDate" prop="EarliestScanDate"
:label="$t('trials:crcUpload:table:earliestScanDate')" :label="$t('trials:crcUpload:table:earliestScanDate')"
show-overflow-tooltip show-overflow-tooltip
@ -375,21 +375,38 @@
: '' : ''
}} }}
</template> </template>
</el-table-column> </el-table-column> -->
<!-- 最晚拍片日期 --> <!-- 最晚拍片日期 $t('trials:crcUpload:table:latestScanDate') -->
<el-table-column <el-table-column
prop="LatestScanDate" prop="LatestScanDate"
:label="$t('trials:crcUpload:table:latestScanDate')" :label="$t('trials:crcUpload:table:scanDate')"
show-overflow-tooltip show-overflow-tooltip
width="170" width="170"
sortable="custom" sortable="custom"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ <el-tooltip
scope.row.LatestScanDate class="item"
? moment(scope.row.LatestScanDate).format('YYYY-MM-DD') 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> </template>
</el-table-column> </el-table-column>
<!-- 提交状态 --> <!-- 提交状态 -->