yizai 3 éve
szülő
commit
b532a971a5

BIN
neidist.rar


+ 5 - 2
src/views/bridge/device-manage/device-work.vue

@@ -26,7 +26,7 @@
       <el-container class="resize-fit-container">
         <div>
           <div class="content-container">
-            <tkyIndex ref="tkyIndex" @node-click="nodeClick" />
+            <tkyIndex ref="tkyIndex" @node-click="beamNodeClick" />
           </div>
         </div>
 
@@ -148,8 +148,11 @@ export default {
         .finally(() => {
           this.listLoading = false
         })
+    },
+    beamNodeClick(beamCode) {
+      this.listQuery.beamCode = beamCode
+      this.getList()
     }
-
   }
 }
 </script>

+ 4 - 3
src/views/bridge/device-manage/tky-manage.vue

@@ -54,7 +54,7 @@
               </el-col>
               <el-col :lg="18" :sm="18" :xs="18" :xl="18" :md="18">
                 <div class="titleup">
-                  <span>最近更新时间:</span><span style="color: #0086ff;font-weight: bold;">{{ noGuide.lastTime | datetimeseconds }}</span>
+                  <span>最近更新时间:</span><span style="color: #0086ff;font-weight: bold;">{{ noGuide.monitorTime | datetimeseconds }}</span>
                   <div style="float:right">
                     <el-button v-if="!playback.isAnimRunning && !playback.anim" type="primary" size="mini" @click="hitoryClick">开始回放</el-button>
                     <el-button v-if="playback.anim" type="primary" size="mini" @click="stopPlayback">停止回放</el-button>
@@ -259,8 +259,8 @@ export default {
       }
       this.data = data.data
       if (this.data.splitTypeNoGuideBeams.length > 0) {
-        // this.noGuide = this.data.splitTypeNoGuideBeams[this.data.splitTypeNoGuideBeams.length - 1]
-        this.returndata(this.data.splitTypeNoGuideBeams[this.data.splitTypeNoGuideBeams.length - 1])
+        this.noGuide = this.data.splitTypeNoGuideBeams[0]
+        this.returndata(this.data.splitTypeNoGuideBeams[0])
       }
     },
     hitoryClick() {
@@ -291,6 +291,7 @@ export default {
       this.$refs.towD.speedDown()
     },
     returndata(data) {
+      this.noGuide = data
       this.$refs.limitState.show(data)
       this.$refs.thaInfo.show(data)
       this.$refs.beamSupport.show(data)

BIN
waidist.rar