From b52b79cedb0888addd6aec2ab24e112f16319d27 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 09 十一月 2021 18:56:08 +0800 Subject: [PATCH] 问题解决 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 28 ++++++++++++++++++---------- 1 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index 73a4df5..3579f09 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -714,9 +714,25 @@ }); }, hasError(data) { + let status = true; if (!data.EventLst || data.EventLst.length == 0) { return false; } + + data.EventLst.forEach((item) => { + if ( + item.Event.indexOf("鐬湜") > -1 || + item.Event.indexOf("浜烘暟鍙樺寲") > -1 + ) { + status = false; + false; + } + }); + + if (!status) { + return false; + } + const t = data.EventLst.some((x) => x.state == 0); return t && data.IsOperate == "1"; }, @@ -995,7 +1011,6 @@ .config { display: flex; flex-wrap: no-wrap; - cursor: pointer; border-bottom: 1px solid #d7dce8; .title { padding: 10px 20px; @@ -1071,7 +1086,7 @@ .more { margin-top: 7px; padding: 0px 6px; - + cursor: pointer; margin-right: 10px; width: 46px; height: 25px; @@ -1085,6 +1100,7 @@ .multCheck { margin-top: 7px; width: 44px; + cursor: pointer; height: 23px; line-height: 23px; padding: 0px 12px; @@ -1096,14 +1112,6 @@ span { color: #ee4e6e; } - // &:hover { - // color: #7695ec; - // border-color: #7695ec; - // } - // &.checked { - // color: #409eff; - // border-color: #409eff; - // } } } .el-menu.el-menu--horizontal { -- Gitblit v1.8.0