Browse Source

可视化云图首页功能更改

wang_xy 2 years ago
parent
commit
d2976c023f
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/views/forest.vue

+ 8 - 7
src/views/forest.vue

@@ -274,12 +274,12 @@
                   <el-input
                     placeholder="请输入内容"
                     prefix-icon="el-icon-search"
-                    v-model="eventSearch" @change="getEventList(calendarDay,10,1,eventSearch)">
+                    v-model="eventSearch" @change="getEventList(calendarDay,200,1,eventSearch)">
                   </el-input>
-                  <div>
-                    <el-button type="button" @click="getEventList(calendarDay,10,pageNum-1)">上一页</el-button>
-                    <el-button type="button" @click="getEventList(calendarDay,10,pageNum+1)">下一页</el-button>
-                  </div>
+                  <!--<div>-->
+                    <!--<el-button type="button" @click="getEventList(calendarDay,10,pageNum-1)">上一页</el-button>-->
+                    <!--<el-button type="button" @click="getEventList(calendarDay,10,pageNum+1)">下一页</el-button>-->
+                  <!--</div>-->
                 </div>
                 <div  class="d-l-con padding-box nowrap" v-for="(item,index) in eventList"
                      @click="dropLocation(item.latitude,item.longitude)" data-html2canvas-ignore>
@@ -528,7 +528,7 @@ export default {
       exposureStageList: [],
       //右侧事件列表
       eventList: [],
-      pageSize:10,
+      pageSize:200,
       pageNum:1,
 
       eventListnew: [],
@@ -607,7 +607,7 @@ export default {
       this.getTodayEvents(day)
       this.getDeptEventCount(day)
       this.getWeather(day)
-      this.getEventList(day,10,1)
+      this.getEventList(day,200,1)
       this.getEventByEventType(day)
       this.getEventByReportorOrder(day)
       this.getExposureStage(day)
@@ -954,6 +954,7 @@ export default {
       this.eventList = []
       //右侧获取事件列表
       getEventList({ day: day,pageSize:pageSize,pageNum: pageNum,eventName:eventSearch },loading).then(res => {
+        debugger
         this.eventList = res.data
         if (this.eventList != null && this.eventList.length > 0) {
           if(this.eventList[0].eventStatusValue == 'forest_event_status_1'){