From 620f1f8e31cd69a752e48277570fd30f7b57d1d8 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期五, 26 二月 2021 10:50:23 +0800 Subject: [PATCH] 朔黄检索页面改版,覆盖了一些公共样式,更新字体包 --- src/Pool/VideoPhotoData.ts | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Pool/VideoPhotoData.ts b/src/Pool/VideoPhotoData.ts index df9742e..31383b0 100644 --- a/src/Pool/VideoPhotoData.ts +++ b/src/Pool/VideoPhotoData.ts @@ -8,7 +8,7 @@ addToBase } from "@/api/search"; export default class VideoPhotoData { - public searchForm: string = 'search'; + public searchFrom: string = 'search'; public preCards: Array<object> = []; public cards: Array<object> = []; public persons: Array<object> = []; @@ -84,7 +84,7 @@ tasks: this.queryTasks, treeNodes: this.treeNodes } - if(this.searchForm == 'cluster'){ + if(this.searchFrom == 'cluster'){ param.isAll = true } const rsp: any = await getSearchList(param); @@ -252,7 +252,12 @@ } async queryTaskList() { - const rsp: any = await getTaskList({}); + let params:any = {}; + if(this.searchFrom == 'cluster'){ + params.isPlatform = 1 + } + console.log(params) + const rsp: any = await getTaskList(params); if (rsp && rsp.success) { // this.tasks.splice(0, this.tasks.length) // rsp.data.forEach(element => { -- Gitblit v1.8.0