|
@@ -104,10 +104,9 @@ export default {
|
|
|
begin: "", //开头样式
|
|
|
end: "", //结尾样式
|
|
|
infoPointList: [], //设备--信息点数组
|
|
|
- EquipData: {}, //设备 id
|
|
|
+ EquipData: {}, //设备 信息
|
|
|
equipHeight: "", // 设备属性栏得高度
|
|
|
EquipMsgData: {}, //设备信息点详情数据
|
|
|
- currentEquipMsg: {}, // 当前设备的信息
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -131,7 +130,7 @@ export default {
|
|
|
}
|
|
|
// 对设备做出判断 看是否点入的是设备相关信息点
|
|
|
if (this.itemType == "BaseEquipment") {
|
|
|
- this.currentEquipMsg = itemList[0].legendData;
|
|
|
+ this.EquipData = itemList[0].legendData;
|
|
|
if (itemList[0].curTextItem) {
|
|
|
this.itemType = "BaseEquipmentMsg";
|
|
|
}
|
|
@@ -187,12 +186,9 @@ export default {
|
|
|
} else {
|
|
|
this.infoPointList = [];
|
|
|
}
|
|
|
- this.EquipData = item.legendData;
|
|
|
} else if (this.itemType == "BaseEquipmentMsg") {
|
|
|
// 获取信息点信息,同时拼接设备点信息
|
|
|
- let EquipMsgData = item.curTextItem.propertyData;
|
|
|
- EquipMsgData.currentEquipMsg = this.currentEquipMsg;
|
|
|
- this.EquipMsgData = EquipMsgData;
|
|
|
+ this.EquipMsgData = item.curTextItem.propertyData;
|
|
|
}
|
|
|
},
|
|
|
},
|