From f1c611bf480463cac5bcaabcd3f45b8dd0622e7a Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期三, 10 十一月 2021 10:15:51 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/vue-smart-ai --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index 8d2a8a7..a036204 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -713,9 +713,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"; }, -- Gitblit v1.8.0