|
@@ -69,22 +69,12 @@ export default {
|
|
|
this.init()
|
|
|
},
|
|
|
/**
|
|
|
- * @description
|
|
|
+ * @description 初始化,根据focusItemList 信息点item 设置 infoData
|
|
|
*/
|
|
|
- addInfo() {
|
|
|
- bus.$emit('addEquipmentInfo')
|
|
|
- this.init()
|
|
|
- },
|
|
|
- delInfo() {
|
|
|
- bus.$emit('deleteEquipmentInfo')
|
|
|
- this.init()
|
|
|
- },
|
|
|
init() {
|
|
|
- window.vm = this
|
|
|
// 设置信息点名称
|
|
|
this.infoData = this.focusItemList.itemList[0].toData()
|
|
|
console.log(this.infoData)
|
|
|
- // console.log(this.infoData)
|
|
|
},
|
|
|
// 更改设备名称
|
|
|
changeInfoName() {
|