From dbff4bc960c1ae97a348ed6f41fe995c30bca3ff Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 25 六月 2021 16:45:12 +0800
Subject: [PATCH] 筛选项
---
src/pages/ai/index/App.vue | 4 ++--
src/pages/shuohuangMonitorAnalyze/index/App.vue | 2 +-
src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 17 ++++++++++++++---
src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue | 2 --
4 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/src/pages/ai/index/App.vue b/src/pages/ai/index/App.vue
index 094649f..29fccaf 100644
--- a/src/pages/ai/index/App.vue
+++ b/src/pages/ai/index/App.vue
@@ -134,11 +134,11 @@
</div>
<div class="alg-name">
<div style="padding: 0px 10px 0px 10px">
- <span class="list-choose-item-left-uninstal">
+ <!-- <span class="list-choose-item-left-uninstal">
{{
item.sdk_name
}}
- </span>
+ </span> -->
</div>
</div>
</div>
diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
index 0b5985e..57ee9c1 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -582,7 +582,6 @@
if (_this.showType == "list") {
_this.tableTotal = res.total;
_this.tableData = res.data;
- debugger;
} else {
_this.tabTotal = res.total;
_this.tabData = res.data;
@@ -618,8 +617,20 @@
IsFollow: this.IsFollow,
IsOperate: this.IsOperate,
};
- this.optionalConfigs = [];
- this.highLevelConfigs = [];
+ let filterQuerys = [];
+ this.checkedConfigs.forEach((config) => {
+ let checkedOpts = config.data.filter((option) => option.isChecked);
+ if (checkedOpts.length) {
+ var linkOpts = checkedOpts.map((opt) => opt.name);
+ linkOpts = linkOpts.join(",");
+ let obj = {};
+ obj[config.NameEn] = linkOpts;
+ filterQuerys.push(obj);
+ }
+ });
+ Object.assign(query, ...filterQuerys);
+ // this.optionalConfigs = [];
+ // this.highLevelConfigs = [];
getlstInit(query).then((res) => {
if (_this.showType == "list") {
_this.tableTotal = res.total;
diff --git a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
index c31fa6b..002a367 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
@@ -282,8 +282,6 @@
<script>
import {
- getlstInit,
- getlst,
getRelatedVideoInfo,
getCarVideos,
getLabelMap,
diff --git a/src/pages/shuohuangMonitorAnalyze/index/App.vue b/src/pages/shuohuangMonitorAnalyze/index/App.vue
index be77a89..7275cfe 100644
--- a/src/pages/shuohuangMonitorAnalyze/index/App.vue
+++ b/src/pages/shuohuangMonitorAnalyze/index/App.vue
@@ -6,7 +6,7 @@
<div class="right">
<div class="top">
<div class="collapse-trigger" @click="toggleCollapse">
- <i :class="isCollapse?'el-icon-s-fold':'el-icon-s-unfold'"></i>
+ <i :class="isCollapse?'el-icon-s-unfold':'el-icon-s-fold'"></i>
</div>
<top-nav></top-nav>
</div>
--
Gitblit v1.8.0