JX.LI 1 年之前
父節點
當前提交
f8cd07ec20
共有 3 個文件被更改,包括 5927 次插入6989 次删除
  1. 3130 3978
      src/views/eventdetailsdialog.vue
  2. 2790 3003
      src/views/firespread.vue
  3. 7 8
      src/views/forest.vue

File diff suppressed because it is too large
+ 3130 - 3978
src/views/eventdetailsdialog.vue


File diff suppressed because it is too large
+ 2790 - 3003
src/views/firespread.vue


+ 7 - 8
src/views/forest.vue

@@ -1122,15 +1122,14 @@
       // },
       dropLocation(lat, lng, eventCode) {
         this.$refs.supermap.dropLocation(lat, lng, 18)
-        this.showEventDialog(eventCode)
+        this.showEventDialog(eventCode, true)
       },
-      showEventDialog(eventCode) {
+      showEventDialog(eventCode, index) {
         //事件信息弹出
-        this.$refs.firespread.showEventDialog(eventCode)
+        this.$refs.firespread.showEventDialog(eventCode, index)
       },
       getFirespread(eventCode) {
-        this.$refs.eventdetailsdialog.showEventDialog(eventCode);
-        // this.$refs.eventdetailsdialog.fireControlViewList()
+        this.$refs.eventdetailsdialog.showEventDialog(eventCode, true);
       },
       getCurrentDataStr() {
         let date = new Date()
@@ -1763,8 +1762,8 @@
               }
             }
           })
-        }else{
-           this.getEventList(this.getCurrentDataStr(), this.pageSize, this.pageNum)
+        } else {
+          this.getEventList(this.getCurrentDataStr(), this.pageSize, this.pageNum)
         }
         console.log(that.eventList[0])
       },
@@ -1999,4 +1998,4 @@
       background-color: #0f3655;
     }
   }
-</style>
+</style>