修复维保记录图片不显示
This commit is contained in:
parent
1b7d340c5b
commit
90fc339c12
@ -162,10 +162,6 @@ export default {
|
|||||||
CustomBar: this.CustomBar || 0,
|
CustomBar: this.CustomBar || 0,
|
||||||
// #endif
|
// #endif
|
||||||
deviceId: '',
|
deviceId: '',
|
||||||
equipmentImages: [{
|
|
||||||
image: this.fileUrl + "drone.png",
|
|
||||||
title: "默认图片"
|
|
||||||
}],
|
|
||||||
currentImageIndex: 0,
|
currentImageIndex: 0,
|
||||||
// 页面是否滚动到顶
|
// 页面是否滚动到顶
|
||||||
topLevel: 0,
|
topLevel: 0,
|
||||||
@ -177,6 +173,11 @@ export default {
|
|||||||
fileUrl: configService.fileUrl + 'aerocraft/equipment/', //静态资源基础路径
|
fileUrl: configService.fileUrl + 'aerocraft/equipment/', //静态资源基础路径
|
||||||
// 订单页图标基础路径
|
// 订单页图标基础路径
|
||||||
ordFileUrl: configService.fileUrl + "aerocraft/order/",
|
ordFileUrl: configService.fileUrl + "aerocraft/order/",
|
||||||
|
// 设备图片列表
|
||||||
|
equipmentImages: [{
|
||||||
|
image: this.fileUrl + "drone.png",
|
||||||
|
title: "默认图片"
|
||||||
|
}],
|
||||||
// 下拉三角
|
// 下拉三角
|
||||||
triangle: "triangle.png",
|
triangle: "triangle.png",
|
||||||
// 弹窗关闭图标
|
// 弹窗关闭图标
|
||||||
@ -245,6 +246,7 @@ export default {
|
|||||||
operator: record.createBy || "未知",
|
operator: record.createBy || "未知",
|
||||||
time: record.createTime || "未知时间",
|
time: record.createTime || "未知时间",
|
||||||
description: record.remark || "无",
|
description: record.remark || "无",
|
||||||
|
image: this.equipmentImages[0]?this.equipmentImages[0].image : (this.fileUrl+"drone.png"),
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
this.maintenanceRecords = [];
|
this.maintenanceRecords = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user