zhangzengfei
2021-04-16 8098e7f023320b5bd9482bace3bf4f19d807765e
src/pages/searchForCluster/index/Searching.vue
@@ -275,7 +275,7 @@
    this.TreeDataPool.multiple = true;
    this.TreeDataPool.searchFrom = 'cluster';
    this.TreeDataPool.clean();
    this.TreeDataPool.fetchTreeData();
  },
  mounted() {
@@ -297,12 +297,12 @@
    //     this.VideoTaskData.tasks[this.VideoTaskData.activeIndex].taskId
    //   ];
    // }
     let start =  this.getUrlKey("start")
      let end =  this.getUrlKey("end")
    if (start&&end) {
      this.searchTime = [start,end]
     this.VideoPhotoData.searchTime = [start,end]
    }else{
    let start = this.getUrlKey("start")
    let end = this.getUrlKey("end")
    if (start && end) {
      this.searchTime = [start, end]
      this.VideoPhotoData.searchTime = [start, end]
    } else {
      this.searchTime = this.getDateInit();
      this.VideoPhotoData.searchTime = this.getDateInit();
    }
@@ -453,7 +453,7 @@
    }
  },
  computed: {
    searchTimeFormated(){
    searchTimeFormated() {
      return this.format(this.searchTime)
    }
  },
@@ -672,8 +672,10 @@
    },
    changePages(page) {
      this.VideoPhotoData.page = page;
      this.VideoPhotoData.isAll = true;
      console.log("分页改变!", this.VideoPhotoData.page)
      if (!this.VideoPhotoData.uploadType) {
        console.log("分页改变!")
        this.VideoPhotoData.uploadDiaplay = false;
        // this.VideoPhotoData.querySearchList();
        this.setLoadSearch(this.VideoPhotoData.querySearchList());