zhangzengfei
2021-06-18 c7eebdfc2fb2de3f81aab9d14c1190e20e70ea9f
src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -158,7 +158,7 @@
          <el-col :xs="8" :sm="6" :md="6" :lg="6" v-for="data in tabData" :key="data.id">
            <div class="card">
              <div class="video-wrap" @click="checkVideoDetail(data)">
                <img :src="data.VideoCover" alt />
                <img :src="data.VideoCover | fixPath" alt />
              </div>
              <div class="video-info">
                <div class="base-info">
@@ -316,7 +316,6 @@
  getRelatedVideoInfo,
  getLabelMap,
  delLabel,
  editLabel,
  getEventVideo,
} from "@/api/shuohuang";
import VideoAnalyze from "./videoAnalyze";
@@ -327,13 +326,22 @@
    VideoAnalyze,
    EventVideos,
  },
  filters: {
    fixPath(str) {
      if (!str || str == undefined) {
        return ""
      }
      return str.replace("/opt/vasystem", "")
    }
  },
  data() {
    return {
      CLIP: "http://",
      keyword: "",
      IsFollow: "",
      searchTime: [
        new Date(2021, 0, 1, 0, 0, 0),
        new Date(2020, 0, 1, 0, 0, 0),
        new Date(2021, 11, 31, 23, 59, 59),
      ],
      curTabPage: 1,