增加报警列表

This commit is contained in:
fengerli
2025-07-30 17:12:09 +08:00
parent 7e26c80ea8
commit a121e75966
8 changed files with 1147 additions and 3 deletions

View File

@ -82,10 +82,10 @@
<template #default="scope">
<el-popover placement="right" trigger="click">
<template #reference>
<img :src="scope.row.devicePic" style="width: 40px; height: 40px; cursor: pointer;"
<img :src="scope.row.devicePic" style="width: 40px; height: 40px; cursor: pointer; object-fit: contain"
class="hover:opacity-80 transition-opacity" />
</template>
<img :src="scope.row.devicePic" style="max-width: 600px; max-height: 600px;" />
<img :src="scope.row.devicePic" style="max-width: 600px; max-height: 600px; object-fit: contain" />
</el-popover>
</template>
</el-table-column>
@ -190,7 +190,7 @@
:http-request="httpRequestImg" :file-list="fileList" :limit="1">
<i class="el-icon-plus"></i>
<template v-if="form.image && typeof form.image === 'string'">
<img :src="form.image" class="avatar" style="width:100px; height:100px;" />
<img :src="form.image" class="avatar" style="width:100px; height:100px; object-fit: contain" />
</template>
</el-upload>