From 337cef48da80230fcd1a4386d8927fb7e33a223b Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期二, 31 五月 2022 13:38:30 +0800
Subject: [PATCH] 统计查询切换tab

---
 src/Pool/VideoPhotoData.ts |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts
index e86de54..1063f21 100644
--- a/src/Pool/VideoPhotoData.ts
+++ b/src/Pool/VideoPhotoData.ts
@@ -47,6 +47,7 @@
   public scrollContainDom: any = '';
   public uploadDiaplay: boolean = false;
   public uploadType: boolean = false;
+  public dataSource: string = 'camera';
 
   constructor() {
     this.cards = [];
@@ -59,6 +60,7 @@
     this.tabs = [];
     this.tasks = [];
     this.treeNodes = [];
+    this.dataSource = 'camera'
   }
 
   clearStatus() {
@@ -82,7 +84,8 @@
       inputValue: this.inputValue,
       tabs: this.queryTabs,
       tasks: this.queryTasks,
-      treeNodes: this.treeNodes
+      treeNodes: this.treeNodes,
+      dataSource:this.dataSource
     }
     if (this.searchFrom == 'cluster') {
       param.isAll = true

--
Gitblit v1.8.0