zhangzengfei
2022-07-20 4a800a8fc83c6bd1f86a8e847b079a51a7532c09
src/Pool/VideoPhotoData.ts
@@ -47,6 +47,8 @@
  public scrollContainDom: any = '';
  public uploadDiaplay: boolean = false;
  public uploadType: boolean = false;
  public dataSource: string = 'camera';
  public collection: string = ''
  constructor() {
    this.cards = [];
@@ -59,6 +61,8 @@
    this.tabs = [];
    this.tasks = [];
    this.treeNodes = [];
    this.dataSource = 'camera'
    this.collection = ''
  }
  clearStatus() {
@@ -82,7 +86,9 @@
      inputValue: this.inputValue,
      tabs: this.queryTabs,
      tasks: this.queryTasks,
      treeNodes: this.treeNodes
      treeNodes: this.treeNodes,
      dataSource:this.dataSource,
      collection:this.collection
    }
    if (this.searchFrom == 'cluster') {
      param.isAll = true
@@ -203,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) {