Browse Source

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-bm-guide into develop

YaolongHan 4 years ago
parent
commit
94723dd45c
1 changed files with 8 additions and 5 deletions
  1. 8 5
      src/components/floorMap/index.vue

+ 8 - 5
src/components/floorMap/index.vue

@@ -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}`)
             }
         },
         // 查看浮层位置详情