459242451@qq.com 3 years ago
parent
commit
f5846d1eac
1 changed files with 3 additions and 1 deletions
  1. 3 1
      ruoyi-ui/src/components/map/index.vue

+ 3 - 1
ruoyi-ui/src/components/map/index.vue

@@ -378,7 +378,7 @@
 
     <div class="shipDiv" style="top:100rem;left:174rem" v-show="showvideos">
       <div class="shipTitle">
-        <span style="float:left">{{ pointDevice.name }}</span>
+        <span style="float:left">{{ heiyanVideoName }}</span>
         <i class="el-icon-close" style="font-size:9rem;margin-top:2rem;float:right" @click="closevideo"></i>
       </div>
       <div style="padding—left:10rem" class="shipContent">
@@ -452,6 +452,7 @@ export default {
       tabledatas: [],
       deviceTableShow: false,
       posints: {},
+      heiyanVideoName: '',
 
       options: {
         preload: true,
@@ -530,6 +531,7 @@ export default {
               that.deviceData = tadata.data;
               that.d_activeName = 'd_first';
               if (tadata.data.source == "heiyan_ship_recognition") {
+                that.heiyanVideoName = tadata.data.name;
                 that.source = tadata.data.liveStreamUrl.slice(tadata.data.liveStreamUrl.indexOf("/live"));
                 setTimeout(function () {
                   that.$refs.VueAliplayerV2.play();