|
@@ -8,7 +8,7 @@
|
|
|
<canvasFun @fit='fit' @savePng='savePng' @saveSvg='saveSvg' @saveJson='saveJson' @scale='scale' @showText='showText' ref='canvasFun'></canvasFun>
|
|
|
</div>
|
|
|
<room-box ref='boxRoom'></room-box>
|
|
|
- <equip-detail ref="equipDetail"></equip-detail>
|
|
|
+ <equip-detail ref='equipDetail'></equip-detail>
|
|
|
<el-popover ref='popover' placement='right' trigger='manual' v-model='visible' width='380'>
|
|
|
<!-- <div style="text-align: right;margin-bottom: 10px;">
|
|
|
<span style="float: left;">对应的工程信息化信息</span>
|
|
@@ -214,11 +214,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
// 查看浮层设备详情
|
|
|
+ // handleClickEquipDetail(row) {
|
|
|
+ // if (row.assetnum) {
|
|
|
+ // this.$refs.equipDetail.open({ row: JSON.stringify(row) })
|
|
|
+ // }
|
|
|
+ // },
|
|
|
handleClickEquipDetail(row) {
|
|
|
- console.log(row)
|
|
|
- if (row.assetnum) {
|
|
|
- this.$refs.equipDetail.open({ row: JSON.stringify(row) })
|
|
|
- // window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=assetdevic&uniqueid=${row.assetuid}`)
|
|
|
+ if (row.assetuid) {
|
|
|
+ window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=assetdevic&uniqueid=${row.assetuid}`)
|
|
|
}
|
|
|
},
|
|
|
// 查看浮层位置详情
|