heyujie
2021-03-24 6e3d8234a4b1bae86b3c896468e20ea9f13c7fb7
src/Pool/VideoPhotoData.ts
@@ -137,9 +137,12 @@
    }
  }
  async findPerson2() {
    // 111
    this.cards = []
    var compType = this.compTargetType == "1" ? 1 : 0
    var param = {
    let param
    if ( this.searchFrom== "cluster") {
      param = {
      page: this.page,
      size: this.size,
      searchTime: this.searchTime,
@@ -151,7 +154,24 @@
      compTargetId: this.compTargetId,
      compTargetType: compType,
      databases: this.compareTabs,
      threshold: this.threshold
        threshold: this.threshold,
        isAll: true
      }
    } else {
      param = {
        page: this.page,
        size: this.size,
        searchTime: this.searchTime,
        picUrl: this.picUrl,
        alarmlevel: this.queryAlarmlevel,
        inputValue: this.inputValue,
        tasks: this.queryTasks,
        treeNodes: this.treeNodes,
        compTargetId: this.compTargetId,
        compTargetType: compType,
        databases: this.compareTabs,
        threshold: this.threshold,
      }
    }
    const rsp: any = await findPersonByPic(param);
    if (rsp && rsp.success) {