王通 преди 2 години
родител
ревизия
790fbfad5a
променени са 1 файла, в които са добавени 11 реда и са изтрити 8 реда
  1. 11 8
      src/views/firespread.vue

+ 11 - 8
src/views/firespread.vue

@@ -35,7 +35,7 @@
                       <div class="i-list-con">
                         <div class="d-l-con-icon" style="flex-direction:row;flex-wrap: nowrap; width:1080px">
                           <div class="icon-con" style="width: fit-content !important;"
-                               v-for="(item,index) in resourcesList" @click="fireControlViewPoint(item.type)">
+                               v-for="(item,index) in resourcesList1" @click="fireControlViewPoint(item.type)">
                             <div class="iconfont icon icon-normal" :class="item.icon"></div>
                             <div class="icon-text">
                               <h5>{{ item.resourceName }}</h5>
@@ -52,7 +52,7 @@
                 <!-- 应急预案end -->
                 <div class="fire-m">
                   <el-button size="small" icon="el-icon-upload" @click="showEventdetailsdialog()">动态标绘</el-button>
-                  <el-button size="small" icon="el-icon-upload" @click="showheatPlotting()">火灾蔓延</el-button>
+<!--                  <el-button size="small" icon="el-icon-upload" @click="showheatPlotting()">火灾蔓延</el-button>-->
                 </div>
                 <!-- 地图 -->
                 <supermapDialog1 ref="supermapDialog1"
@@ -1014,7 +1014,7 @@
         regionalFlagObj: {
           array: []
         },
-        resourcesList: [
+        resourcesList1: [
           {
             resourceName: '取水口',
             type: 'qsk',
@@ -1292,7 +1292,7 @@
   },
       // 获取消防左侧菜单列表
       fireControlViewList() {
-        this.resourcesList = [];
+        this.resourcesList1 = [];
         let _this = this;
         // {
         //   resourceName: '取水口',
@@ -1314,11 +1314,11 @@
             if(resourceName != "重点场所"
               && resourceName != "基本联动力量"
               && resourceName != "其他联动力量"){
-              _this.resourcesList.push(obj);
+              _this.resourcesList1.push(obj);
             }
-            console.log("11111icon_" + (index + 1) + "=", icon);
+            console.log("2222icon_" + (index + 1) + "=", icon);
           })
-          _this.resourcesList.push({
+          _this.resourcesList1.push({
             resourceName: '摄像头',
             type: 'sxt',
             count: '1',
@@ -2071,8 +2071,11 @@
               that.$refs.supermapDialog1.setMarkers([markersMap])
 
             }, 2000)
+            setTimeout(() => {
+              that.showheatPlotting()
+            }, 2000)
            //  that.$refs.supermapDialog1.showheatPlotting(that.latitude, that.longitude,that.windSpeed,that.windDirection)
-            that.showheatPlotting()
+
             that.$refs.supermapDialog1.createHeatPoints()
 
           }