优化
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="图片路径" align="center" prop="picture" width="100">
|
||||
<template #default="scope">
|
||||
<image-preview :src="scope.row.picture" :width="50" :height="50" />
|
||||
<image-preview :src="'http://58.17.134.85:8919' + scope.row.picture" :width="50" :height="50" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="故障描述" align="center" prop="describe" />
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
<el-space wrap>
|
||||
<div v-for="item in safetyInspectionDetail.checkAttachment" :key="item.ossId">
|
||||
<span v-if="['png', 'jpg', 'jpeg'].includes(item.fileType)">
|
||||
<image-preview :src="item.path" width="200px" />
|
||||
<image-preview :src="'http://58.17.134.85:8919' + item.path" width="200px" />
|
||||
</span>
|
||||
<span v-else>
|
||||
<el-link :href="`${item.path}`" type="primary" :underline="false" target="_blank">
|
||||
|
||||
Reference in New Issue
Block a user