Commit e5b01c09 authored by xxx's avatar xxx

添加轨迹回放点击列表功能

parent 903ce94f
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</div> </div>
<div class="trajectoryTableView"> <div class="trajectoryTableView">
<div style="font-size:20px;font-weight: 600;">播放时间列表</div> <div style="font-size:20px;font-weight: 600;">播放时间列表</div>
<el-table :data="playtimeTableData" border height="64vh"> <el-table :data="playtimeTableData" border height="64vh" @row-click="clickListTrajectoryTimePointFn">
<el-table-column prop="bTime" label="启动时间" align="center"></el-table-column> <el-table-column prop="bTime" label="启动时间" align="center"></el-table-column>
<el-table-column prop="eTime" label="停车时间" align="center"></el-table-column> <el-table-column prop="eTime" label="停车时间" align="center"></el-table-column>
</el-table> </el-table>
...@@ -366,6 +366,16 @@ export default { ...@@ -366,6 +366,16 @@ export default {
} }
} }
}, },
//单击列表轨迹时间点跳转
clickListTrajectoryTimePointFn(row,column,event){
console.log(row.bTime);
if(this.query.number == '' || !this.query.bTime || !this.query.eTime){
return;
}else{
this.$refs.mars3dViewerMapMethod.changeTime(row.bTime);
this.trajectoryTimePoint = '';
}
},
// 地图构造完成回调 // 地图构造完成回调
onMapload(map) { onMapload(map) {
// 以下为演示代码 // 以下为演示代码
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment