From 6e3d8234a4b1bae86b3c896468e20ea9f13c7fb7 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期三, 24 三月 2021 11:46:44 +0800
Subject: [PATCH] 朔黄视频播放进度条

---
 src/Pool/VideoPhotoData.ts |   46 +++++++++++++++++++++++++++++++++-------------
 1 files changed, 33 insertions(+), 13 deletions(-)

diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts
index 31383b0..cadcdbc 100644
--- a/src/Pool/VideoPhotoData.ts
+++ b/src/Pool/VideoPhotoData.ts
@@ -137,21 +137,41 @@
     }
   }
   async findPerson2() {
+    // 111
     this.cards = []
     var compType = this.compTargetType == "1" ? 1 : 0
-    var 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
+    let param
+    if ( this.searchFrom== "cluster") {
+      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,
+        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) {

--
Gitblit v1.8.0