From 7712b788faf815e8e39d5bbbd61b5e4261eee7b2 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期日, 28 二月 2021 18:54:54 +0800
Subject: [PATCH] 朔黄首页更新

---
 src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
index a6c5375..8a8f6ef 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/videoAnalyze.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="content">
+  <div class="video-analyze-content">
     <div class="content-top">
       <div class="grid-check">
         <span
@@ -57,7 +57,7 @@
                 <!-- {{curVideo.ID}} -->
                 <!-- <img :src="curVideo.VideoCover" style="width:100px" /> -->
                 <ali-player
-                  :source="'http://' + curVideo.VideoPath"
+                  :source="curVideo.VideoPath"
                   :markers="curVideo.marks"
                   :ref="`player_${curVideo.ID}`"
                 />
@@ -82,7 +82,7 @@
                     style="width:100px"
                   />-->
                   <ali-player
-                    :source="'http://' + videoArrs[index].VideoPath"
+                    :source="videoArrs[index].VideoPath"
                     :markers="videoArrs[index].marks"
                     :ref="`player_${videoArrs[index].ID}`"
                   />
@@ -383,6 +383,7 @@
           this.$message.success("娣诲姞鎴愬姛");
           // 鏍囨敞
           _this.setMarks(this.curVideo);
+          _this.$parent.$parent.filterSearchData();
         } else {
           this.$message.warning(rsp.msg);
         }
@@ -409,13 +410,13 @@
           this.$message.success("鍒犻櫎鎴愬姛");
           // 鏍囨敞
           _this.setMarks(_this.curVideo);
+          _this.$parent.$parent.filterSearchData();
         } else {
           this.$message.warning(rsp.msg);
         }
       });
     },
     mergeMarks(videoInfo) {
-      // debugger
       const eMarks = videoInfo.EventLst.map(function (item) {
         return {
           offset: item.SecondsInVideo + "",
@@ -439,8 +440,9 @@
 };
 </script>
 
-<style lang="scss">
-.content {
+<style lang="scss" >
+.video-analyze-content {
+  margin: 0;
   padding: 15px;
   text-align: left;
   .content-top {

--
Gitblit v1.8.0