|
|
|
|
@ -227,9 +227,9 @@
|
|
|
|
|
<!-- <i>📊</i>-->
|
|
|
|
|
<el-image
|
|
|
|
|
style="width: 60px; height: 60px"
|
|
|
|
|
:src="item.images || 'https://p119-minio-upload.ngsk.tech:7001/besure/998a6fc5d7da4ad079cc5afaa1ca5293917c17080c9805dc791039d3534e9dba.jpeg'"
|
|
|
|
|
:src="item.images || getImgUrl('wutu.jpeg')"
|
|
|
|
|
:preview-src-list="[
|
|
|
|
|
item.images || 'https://p119-minio-upload.ngsk.tech:7001/besure/998a6fc5d7da4ad079cc5afaa1ca5293917c17080c9805dc791039d3534e9dba.jpeg'
|
|
|
|
|
item.images || getImgUrl('wutu.jpeg')
|
|
|
|
|
]"
|
|
|
|
|
fit="cover"
|
|
|
|
|
preview-teleported
|
|
|
|
|
@ -870,6 +870,9 @@ const handleView = (row) => {
|
|
|
|
|
query: {id: row.id}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const getImgUrl = (imgName) => {
|
|
|
|
|
return new URL(`/src/assets/imgs/${imgName}`, import.meta.url).href
|
|
|
|
|
}
|
|
|
|
|
/** 设备类型 列表 */
|
|
|
|
|
//defineOptions({name: 'DeviceLedger'})
|
|
|
|
|
const getEquipmentColor = (type) => {
|
|
|
|
|
|