refector: opl和visit显示照片
This commit is contained in:
parent
e63926cffb
commit
1460a6466a
|
@ -111,8 +111,7 @@
|
|||
:key = "item.id"
|
||||
style="margin-right: 8px;height: 146px;height:146px;"
|
||||
:src="item.path"
|
||||
:preview-src-list="item.path"
|
||||
:initial-index="1"
|
||||
:preview-src-list="[item.path]"
|
||||
fit="cover"
|
||||
/>
|
||||
</el-descriptions-item>
|
||||
|
@ -122,8 +121,7 @@
|
|||
:key = "item.id"
|
||||
style="margin-right: 8px;height: 146px;height:146px;"
|
||||
:src="item.path"
|
||||
:preview-src-list="item.path"
|
||||
:initial-index="1"
|
||||
:preview-src-list="[item.path]"
|
||||
fit="cover"
|
||||
/>
|
||||
</el-descriptions-item>
|
||||
|
|
|
@ -41,6 +41,15 @@
|
|||
<el-space v-if="scope.row.is_main == true">是</el-space>
|
||||
<el-space v-else>否</el-space>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="照片:">
|
||||
<el-image
|
||||
v-if="scope.row.visitor_ && scope.row.visitor_.photo"
|
||||
style="margin-right: 8px;height: 146px;height:146px;"
|
||||
:src="scope.row.visitor_.photo"
|
||||
:preview-src-list="[scope.row.visitor_.photo]"
|
||||
fit="cover"
|
||||
/>
|
||||
</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="健康码:">
|
||||
<el-image style="width: 100px; height: 100px" :src="scope.row.health_code"
|
||||
:preview-src-list="[scope.row.health_code]" fit="cover" />
|
||||
|
|
Loading…
Reference in New Issue