zhangzengfei
2023-11-29 0d3db253cad1fb49c4fae9b9a537c8c318c7172f
src/Pool/VideoPhotoData.ts
@@ -48,6 +48,7 @@
  public uploadDiaplay: boolean = false;
  public uploadType: boolean = false;
  public dataSource: string = 'camera';
  public collection: string = ''
  constructor() {
    this.cards = [];
@@ -61,6 +62,7 @@
    this.tasks = [];
    this.treeNodes = [];
    this.dataSource = 'camera'
    this.collection = ''
  }
  clearStatus() {
@@ -85,7 +87,8 @@
      tabs: this.queryTabs,
      tasks: this.queryTasks,
      treeNodes: this.treeNodes,
      dataSource:this.dataSource
      dataSource:this.dataSource,
      collection:this.collection
    }
    if (this.searchFrom == 'cluster') {
      param.isAll = true
@@ -206,7 +209,8 @@
      databases: this.compareTabs,
      compareNum: this.compareNum,
      threshold: this.threshold,
      isAll: this.searchFrom == "cluster" ? true : false
      isAll: this.searchFrom == "cluster" ? true : false,
      collection:this.collection
    }
    const rsp: any = await findPerson(param);
    if (rsp && rsp.success) {