From e116bdd983b4a456c866119666e41bbaab4f7293 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期五, 15 七月 2022 16:42:08 +0800
Subject: [PATCH] 禅道bug

---
 src/Pool/VideoPhotoData.ts |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts
index 1063f21..14abc0d 100644
--- a/src/Pool/VideoPhotoData.ts
+++ b/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) {

--
Gitblit v1.8.0