hanbaoshan
2021-02-26 7e0e0b4445d3c03cc42005246fa879a4dc8e7e6d
src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -275,9 +275,9 @@
      >
        <div class="title" slot="title">
          <i class="el-icon-connection"></i>
          <span>shoubi视频</span>
          <span>{{curEvName}}视频</span>
        </div>
        <event-videos :eventDetail="curEventDetail"></event-videos>
        <event-videos :eventVideoArr="eventVideoArr"></event-videos>
      </el-dialog>
    </div>
  </div>
@@ -292,6 +292,7 @@
  getLabelMap,
  delLabel,
  editLabel,
  getEventVideo
} from "@/api/shuohuang";
import VideoAnalyze from "./videoAnalyze";
import EventVideos from "./eventVideos";
@@ -414,7 +415,8 @@
      labelDialogVisible: false,
      selectedVideo: {},
      eventDialogVisible: false,
      curEventDetail: {}
      curEvName: '',
      eventVideoArr: []
    };
  },
  watch: {
@@ -432,6 +434,11 @@
    checkEventVideo (label) {
      this.eventDialogVisible = true;
      this.curEventDetail = label;
      let _this = this;
      getEventVideo({Event:label.Event,LkgID:label.ParentID}).then(res=>{
        _this.eventVideoArr = res.data;
        _this.curEvName = label.Event;
      })
    },
    handleTabSizeChange (size) {
      this.tabPageSize = size;
@@ -528,7 +535,6 @@
        } else {
          _this.tabTotal = res.total;
          _this.tabData = res.data;
          // debugger
          _this.tabData = _this.tabData.map(function (item) {
            const set = new Set()
            item.LableLst.forEach(function (label) {
@@ -827,6 +833,8 @@
            height: 40px;
            line-height: 40px;
            border: none;
            color: #2c3e50;
            font-size: 12px;
          }
          .el-menu--popup {
            display: flex;
@@ -838,6 +846,7 @@
          }
          .highlevel-option {
            font-size: 12px;
            color: #2c3e50;
            &:hover {
              color: #6486e7;
            }
@@ -907,7 +916,6 @@
        position: relative;
        text-align: left;
        background: #fff;
        border: 1px solid #dedede;
        border-radius: 5px;
        height: 360px;
        margin-bottom: 10px;