修改百度地图AK
This commit is contained in:
@@ -15,11 +15,13 @@
|
||||
<el-table-column label="车牌号" prop="licensePlate"> </el-table-column>
|
||||
<el-table-column label="车身照片" prop="" width="160">
|
||||
<template #default="scope">
|
||||
<!-- 车头照片 -->
|
||||
<el-image
|
||||
v-if="scope.row.carFrontPhoto"
|
||||
style="width: 50px; height: 50px; margin-right: 10px"
|
||||
:src="scope.row.carFrontPhoto ? scope.row.carFrontPhoto : ''"
|
||||
:src="scope.row.carFrontPhoto"
|
||||
fit="cover"
|
||||
:preview-src-list="[scope.row.carFrontPhoto] ? [scope.row.carFrontPhoto] : []"
|
||||
:preview-src-list="[scope.row.carFrontPhoto]"
|
||||
preview-teleported
|
||||
>
|
||||
<template #error>
|
||||
@@ -31,11 +33,19 @@
|
||||
</div>
|
||||
</template>
|
||||
</el-image>
|
||||
<div
|
||||
v-else
|
||||
style="width: 50px; height: 50px; margin-right: 10px; display: inline-flex; justify-content: center; align-items: center; background: #f5f7fa; border-radius: 4px; color: #909399"
|
||||
>
|
||||
<el-icon style="font-size: 30px"><Picture /></el-icon>
|
||||
</div>
|
||||
<!-- 车尾照片 -->
|
||||
<el-image
|
||||
v-if="scope.row.carBehindPhoto"
|
||||
style="width: 50px; height: 50px; margin-right: 10px"
|
||||
:src="scope.row.carBehindPhoto ? scope.row.carBehindPhoto : ''"
|
||||
:src="scope.row.carBehindPhoto"
|
||||
fit="cover"
|
||||
:preview-src-list="[scope.row.carBehindPhoto] ? [scope.row.carBehindPhoto] : []"
|
||||
:preview-src-list="[scope.row.carBehindPhoto]"
|
||||
preview-teleported
|
||||
>
|
||||
<template #error>
|
||||
@@ -47,6 +57,12 @@
|
||||
</div>
|
||||
</template>
|
||||
</el-image>
|
||||
<div
|
||||
v-else
|
||||
style="width: 50px; height: 50px; margin-right: 10px; display: inline-flex; justify-content: center; align-items: center; background: #f5f7fa; border-radius: 4px; color: #909399"
|
||||
>
|
||||
<el-icon style="font-size: 30px"><Picture /></el-icon>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="起始地" prop="startLocation"> </el-table-column>
|
||||
|
||||
Reference in New Issue
Block a user