From 878ce80ef3ca88a2c108fbc713cd6ea461c44de1 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期三, 13 十月 2021 13:51:03 +0800
Subject: [PATCH] 拓扑图

---
 src/pages/cameraAccess/components/DataStackInfo.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/pages/cameraAccess/components/DataStackInfo.vue b/src/pages/cameraAccess/components/DataStackInfo.vue
index 1806173..57281fa 100644
--- a/src/pages/cameraAccess/components/DataStackInfo.vue
+++ b/src/pages/cameraAccess/components/DataStackInfo.vue
@@ -332,7 +332,6 @@
   copyFile
 } from "@/api/localVedio";
 
-import { changeRunType } from "@/api/pollConfig";
 
 import InfoCard from "./infoCard"
 import eChartsBar from '@/components/subComponents/eChartsBar'
@@ -441,8 +440,6 @@
   },
   mounted() {
     this.initFormData();
-    console.log(this.PollData.barCharts)
-
   },
   beforeDestroy() {
     this.taskUid = 0;
@@ -457,8 +454,12 @@
       if (row.type === 1) {
 
         this.videoUrl = "/files/" + row.identifier + ".mp4"
-      } else if (row.type === 2) {
 
+        // 涓烘湐榛勪娇鐢ㄦ暟鎹爤瀹氬埗, 娌℃湁MD5
+        if (row.identifier == "") {
+          this.videoUrl = row.path.replace("/opt/vasystem", "");
+        }
+      } else if (row.type === 2) {
         this.imgUrl = "/files/" + row.path.substr(row.path.lastIndexOf('/') + 1)
       }
     },

--
Gitblit v1.8.0