|
@ -320,6 +320,15 @@ |
|
|
getDevicePoint({ id: infoObject.value.deviceName }); |
|
|
getDevicePoint({ id: infoObject.value.deviceName }); |
|
|
// 回显 选择设备类型 |
|
|
// 回显 选择设备类型 |
|
|
findParentIds(deviceTypeTreeData.value, infoObject.value.deviceType, selectDevice.value); |
|
|
findParentIds(deviceTypeTreeData.value, infoObject.value.deviceType, selectDevice.value); |
|
|
|
|
|
//枚举 需要重新赋值 |
|
|
|
|
|
if ( |
|
|
|
|
|
infoObject.value.hxAlarmRuleLogicList && |
|
|
|
|
|
infoObject.value.hxAlarmRuleLogicList.length > 0 |
|
|
|
|
|
) { |
|
|
|
|
|
infoObject.value.hxAlarmRuleLogicList.forEach((item: any) => { |
|
|
|
|
|
item.logic = item.logic.value; |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
infoObject.value.alarmList = infoObject.value.hxAlarmRuleLogicList || []; |
|
|
infoObject.value.alarmList = infoObject.value.hxAlarmRuleLogicList || []; |
|
|
delete infoObject.value.hxAlarmRuleLogicList; |
|
|
delete infoObject.value.hxAlarmRuleLogicList; |
|
|
infoObject.value.deviceType = selectDevice; |
|
|
infoObject.value.deviceType = selectDevice; |
|
|