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 | 16 ++++++++++++++++
src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue | 7 ++++++-
2 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
index ead0f1a..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";
},
diff --git a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
index 0f4e0e7..d48f321 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
@@ -90,7 +90,7 @@
@click="dotJump(item.offset)"
></div>
<div
- v-if="checkType === 2"
+ v-if="checkType === 2 || checkType === 3"
class="self-dot"
:class="
curVideo.IsOperate == '11' &&
@@ -727,6 +727,11 @@
item.text.indexOf("浠板崸") > -1
) {
this.checkType = 2;
+ } else if (
+ item.text.indexOf("鐬湜") > -1 ||
+ item.text.indexOf("浜烘暟鍙樺寲") > -1
+ ) {
+ this.checkType = 3;
} else {
this.checkType = 1;
}
--
Gitblit v1.8.0