Browse Source

发开注释代码

YaolongHan 4 years ago
parent
commit
7bc13b8f00
3 changed files with 11 additions and 11 deletions
  1. 7 7
      src/components/floorMap/index.vue
  2. 2 2
      src/store/index.js
  3. 2 2
      src/views/equipment/table/rcwxTable.vue

+ 7 - 7
src/components/floorMap/index.vue

@@ -214,16 +214,16 @@ export default {
             }
         },
         // 查看浮层设备详情
-        // handleClickEquipDetail(row) {
-        //     if (row.assetnum) {
-        //         this.$refs.equipDetail.open({ row: JSON.stringify(row) })
-        //     }
-        // },
         handleClickEquipDetail(row) {
-            if (row.assetuid) {
-                window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=assetdevic&uniqueid=${row.assetuid}`)
+            if (row.assetnum) {
+                this.$refs.equipDetail.open({ row: JSON.stringify(row) })
             }
         },
+        // handleClickEquipDetail(row) {
+        //     if (row.assetuid) {
+        //         window.open(`http://gcgl.wanda.cn/maximo/ui/?event=loadapp&value=assetdevic&uniqueid=${row.assetuid}`)
+        //     }
+        // },
         // 查看浮层位置详情
         handleClickPointDeatil(point) {
             if (point.id && this.activeItem) this.$refs.boxRoom.open({ name: this.activeItem.name, type: this.type, location: point.id })

+ 2 - 2
src/store/index.js

@@ -8,9 +8,9 @@ import router from '../router'
 Vue.use(Vuex)
 export default new Vuex.Store({
     state: {
-        // ssoToken: 'admin:liujiandong',
+        ssoToken: 'admin:liujiandong',
         // ssoToken: '',
-        ssoToken: null,
+        // ssoToken: null,
         plazaName: "",
         isPreview: false,
         lastRoute: '',

+ 2 - 2
src/views/equipment/table/rcwxTable.vue

@@ -245,8 +245,8 @@ export default {
             this.$refs.picLargeOpen.open(this.imgUrl)
         },
         startMethods() {
-            // this.tabFind()
-            // this.getList()
+            this.tabFind()
+            this.getList()
         },
         //下拉框查询
         tabFind() {