fix:修改字段 对接设备告警

This commit is contained in:
zhaohy
2024-07-25 11:55:32 +08:00
parent 7869b083c3
commit b8b6a46e7e
18 changed files with 131 additions and 42 deletions

View File

@@ -394,6 +394,9 @@
formRef.value.validate().then(() => {
//处理数据
let data = { ...infoObject.value };
if (!data.orgId) {
data.orgId = orgId.value;
}
//关联能耗告警id
data.energyConsumptionAlarmId = energyAlarm.value.id;
data.errorCode = energyAlarm.value.errorCode;