This commit is contained in:
2025-08-02 15:31:59 +08:00
parent 86afe6a30d
commit e60c435fa6
4 changed files with 12 additions and 6 deletions

View File

@ -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" />

View File

@ -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">