|
@@ -577,6 +577,13 @@
|
|
|
this.$set(this,'dialogTitle','编辑预案规则');
|
|
|
this.$set(this,'dialogIndex',index);
|
|
|
let obj = JSON.parse(JSON.stringify(item))
|
|
|
+ for(let i=0;i<obj.riskPlanHardwareList.length;i++){
|
|
|
+ for(let o=0;o<self.hardwareList.length;o++){
|
|
|
+ if(obj.riskPlanHardwareList[i].hardwareType == self.hardwareList[o].hardwareTypeEnum.code){
|
|
|
+ obj.riskPlanHardwareList[i].hardwareList = self.hardwareList[o].functionStatusList
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
this.$set(this,'dialogForm',{
|
|
|
id:obj.id,
|
|
|
riskPlanId:obj.riskPlanId,
|