fix(record): 修复母线温度记录中照片回显问题

- 在重置表单时添加照片回显相关状态的初始化
- 优化了照片回显功能,确保在更新记录时能正确显示照片
IOT
zch 2 months ago
parent 3f6623fee1
commit a19784e6cf

@ -508,12 +508,18 @@ export default {
updatedBy: null, updatedBy: null,
updatedTime: null, updatedTime: null,
recordTime: null, recordTime: null,
photoOpen : false,
visiblePhoto : null,
thermalPhoto : null,
thermalResponse : null,
visibleResponse : null,
}; };
this.resetForm("form"); this.resetForm("form");
this.photoOpen = false; this.photoOpen = false;
this.visiblePhoto = null; this.visiblePhoto = null;
this.thermalPhoto = null; this.thermalPhoto = null;
this.photoOpen = null; this.thermalResponse = null;
this.visibleResponse = null;
}, },
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {

Loading…
Cancel
Save