From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期三, 20 七月 2022 15:05:58 +0800 Subject: [PATCH] 修复国标配置的bug --- src/Pool/VideoPhotoData.ts | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts index e86de54..14abc0d 100644 --- a/src/Pool/VideoPhotoData.ts +++ b/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) { -- Gitblit v1.8.0