|
|
@@ -411,9 +411,20 @@
|
|
|
<span v-else>-</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="照片" width="80">
|
|
|
+ <el-table-column label="照片" min-width="160">
|
|
|
<template #default="scope">
|
|
|
- <span v-if="scope.row.checkPhotos">{{ scope.row.checkPhotos }}</span>
|
|
|
+ <template v-if="scope.row.checkPhotos">
|
|
|
+ <el-image
|
|
|
+ v-for="(url, i) in String(scope.row.checkPhotos).split(',').filter((u) => u)"
|
|
|
+ :key="i"
|
|
|
+ :src="url.trim()"
|
|
|
+ :preview-src-list="String(scope.row.checkPhotos).split(',').map((u) => u.trim()).filter((u) => u)"
|
|
|
+ :initial-index="i"
|
|
|
+ :preview-teleported="true"
|
|
|
+ fit="cover"
|
|
|
+ style="width: 60px; height: 60px; margin-right: 6px; border-radius: 4px;"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
<span v-else>-</span>
|
|
|
</template>
|
|
|
</el-table-column>
|