@@ -445,6 +445,7 @@
deviceName: '',
deviceCode: '',
iotId: '',
+ ruleId: '',
name: '', // 告警名称
generateDocumentType: null, // 是否生成保修工单
description: '', // 告警描述
@@ -544,6 +545,7 @@
},
async addRule() {
const data = await getDetail(this.ruleId);
+ this.baseInfoForm.ruleId = this.ruleId;
this.baseInfoForm.workItems = data.ruleItems;
this.addDialog = false;