From 878ce80ef3ca88a2c108fbc713cd6ea461c44de1 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 13 十月 2021 13:51:03 +0800
Subject: [PATCH] 拓扑图
---
src/Pool/VideoPhotoData.ts | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts
index ca783bc..e86de54 100644
--- a/src/Pool/VideoPhotoData.ts
+++ b/src/Pool/VideoPhotoData.ts
@@ -74,7 +74,7 @@
async querySearchList() {
this.cards = []
this.preCards = []
- var param:any = {
+ var param: any = {
page: this.page,
size: this.size,
searchTime: this.searchTime,
@@ -84,7 +84,7 @@
tasks: this.queryTasks,
treeNodes: this.treeNodes
}
- if(this.searchFrom == 'cluster'){
+ if (this.searchFrom == 'cluster') {
param.isAll = true
}
const rsp: any = await getSearchList(param);
@@ -119,7 +119,7 @@
picUrl: this.picUrl,
databases: this.compareTabs,
threshold: this.threshold,
- isAll: this.searchFrom== "cluster"?true: false
+ isAll: this.searchFrom == "cluster" ? true : false
}
const rsp: any = await findPersonByPic(param);
if (rsp && rsp.success) {
@@ -142,7 +142,7 @@
this.cards = []
var compType = this.compTargetType == "1" ? 1 : 0
let param
- if ( this.searchFrom== "cluster") {
+ if (this.searchFrom == "cluster") {
param = {
page: this.page,
size: this.size,
@@ -202,7 +202,8 @@
picUrl: this.picUrl,
databases: this.compareTabs,
compareNum: this.compareNum,
- threshold: this.threshold
+ threshold: this.threshold,
+ isAll: this.searchFrom == "cluster" ? true : false
}
const rsp: any = await findPerson(param);
if (rsp && rsp.success) {
@@ -273,8 +274,8 @@
}
async queryTaskList() {
- let params:any = {};
- if(this.searchFrom == 'cluster'){
+ let params: any = {};
+ if (this.searchFrom == 'cluster') {
params.isPlatform = 1
}
console.log(params)
--
Gitblit v1.8.0