fix:设备数据采集问题

This commit is contained in:
shijing 2025-09-15 10:57:11 +08:00
parent abaff8fe20
commit b363333029
1 changed files with 4 additions and 1 deletions

View File

@ -679,6 +679,9 @@ export default {
if(that.mlogbwlist[index].work_start_time==''||that.mlogbwlist[index].work_start_time==null){ if(that.mlogbwlist[index].work_start_time==''||that.mlogbwlist[index].work_start_time==null){
that.mlogbwlist[index].work_start_time = that.$TOOL.dateFormat(date, 'yyyy-MM-dd hh:mm:ss'); that.mlogbwlist[index].work_start_time = that.$TOOL.dateFormat(date, 'yyyy-MM-dd hh:mm:ss');
} }
if(that.setForm.cd_req_addr!==null){
that.getEqData(index);
}
} }
}); });
}, },
@ -771,7 +774,7 @@ export default {
that.equipmentOptions.forEach(item => { that.equipmentOptions.forEach(item => {
if(item.id == that.form.equipment){ if(item.id == that.form.equipment){
that.form.equipment_name = item.name; that.form.equipment_name = item.name;
that.form.cd_req_addr=item.cd_req_addr; that.form.cd_req_addr = that.setForm.cd_req_addr = item.cd_req_addr;
} }
}); });
}, },