ZZJ
2021-11-09 b52b79cedb0888addd6aec2ab24e112f16319d27
问题解决
2个文件已修改
23 ■■■■■ 已修改文件
src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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";
    },
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;
          }