zhangzengfei
2021-06-22 e70f4f14cc409b6b75e1f9191cc9255fa66032e8
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">
@@ -237,8 +237,8 @@
          </el-table-column>
          <el-table-column label="大小" prop="VideoSize" sortable></el-table-column>
          <el-table-column label="修改日期" prop="VideoUpdateDate" sortable></el-table-column>
          <el-table-column label="创建日期" prop="VideoCreateDate" sortable></el-table-column>
          <el-table-column label="视频时间" prop="VideoDate" sortable></el-table-column>
          <!-- <el-table-column label="创建日期" prop="VideoCreateDate" sortable></el-table-column> -->
          <el-table-column label="操作">
            <template slot-scope="scope">
@@ -325,6 +325,15 @@
  components: {
    VideoAnalyze,
    EventVideos,
  },
  filters: {
    fixPath(str) {
      if (!str || str == undefined) {
        return ""
      }
      return str.replace("/opt/vasystem", "")
    }
  },
  data() {
    return {
@@ -484,6 +493,7 @@
        if (_this.showType == "list") {
          _this.tableTotal = res.total;
          _this.tableData = res.data;
          debugger
        } else {
          _this.tabTotal = res.total;
          _this.tabData = res.data;