Commit 5e94f224 authored by xxx's avatar xxx

1

parent 349c356c
...@@ -152,6 +152,9 @@ export default { ...@@ -152,6 +152,9 @@ export default {
equipmentName: [ equipmentName: [
{required: true, message: '请选择终端设备', trigger: 'change' } {required: true, message: '请选择终端设备', trigger: 'change' }
], ],
road: [
{required: true, message: '请选择所属车队名称', trigger: 'change' }
],
}, },
} }
}, },
......
...@@ -57,10 +57,10 @@ ...@@ -57,10 +57,10 @@
</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>
<div v-for="(obj,index) in trajectoryTableData" :key="index" style="display:flex;justify-content: space-between;margin-top: 1vh;"> <el-table :data="playtimeTableData" border height="58.5vh">
<div>{{obj.alarmTime}}</div> <el-table-column prop="date" label="启动时间" align="center"></el-table-column>
<div>停止{{obj.time}}分钟</div> <el-table-column prop="name" label="停车时间" align="center"></el-table-column>
</div> </el-table>
</div> </div>
<div class="tishiTextStyle" v-if="tishiTextShow">请选择车辆查看轨迹</div> <div class="tishiTextStyle" v-if="tishiTextShow">请选择车辆查看轨迹</div>
</div> </div>
...@@ -181,7 +181,7 @@ export default { ...@@ -181,7 +181,7 @@ export default {
HttpReq.truckDispatching.carInformationQuery({number:this.query.number}).then((res) => { HttpReq.truckDispatching.carInformationQuery({number:this.query.number}).then((res) => {
if(res.code == 200 && res.data.totalElements != 0){ if(res.code == 200 && res.data.totalElements != 0){
this.tishiTextShow = false; this.tishiTextShow = false;
//获取列表 //获取停车时间以及地点数据并启动地图
HttpReq.truckDispatching.mineAlarmHistoryCountQuery({number:this.query.number,bTime:this.query.bTime,eTime:this.query.eTime}).then((res1) => { HttpReq.truckDispatching.mineAlarmHistoryCountQuery({number:this.query.number,bTime:this.query.bTime,eTime:this.query.eTime}).then((res1) => {
if(res1.code == 200){ if(res1.code == 200){
this.measureDistanceDis = false; this.measureDistanceDis = false;
...@@ -190,6 +190,12 @@ export default { ...@@ -190,6 +190,12 @@ export default {
that.$refs.mars3dViewerMapMethod.getCoordinate(res.data.content[0].equipmentName,res.data.content[0].number,that.playSpeedNum,that.query.bTime,that.query.eTime,this.trajectoryTableData,this.leadTime); that.$refs.mars3dViewerMapMethod.getCoordinate(res.data.content[0].equipmentName,res.data.content[0].number,that.playSpeedNum,that.query.bTime,that.query.eTime,this.trajectoryTableData,this.leadTime);
} }
}) })
//获取右侧播放时间列表
// HttpReq.truckDispatching.mineAlarmHistoryCountQuery({number:this.query.number,bTime:this.query.bTime,eTime:this.query.eTime}).then((res1) => {
// if(res1.code == 200){
// }
// })
}else{ }else{
this.$notify({ this.$notify({
title: '暂无该车辆轨迹信息!', title: '暂无该车辆轨迹信息!',
...@@ -333,10 +339,7 @@ export default { ...@@ -333,10 +339,7 @@ export default {
bottom: 0.1vh; bottom: 0.1vh;
width: 16vw; width: 16vw;
height: 61vh; height: 61vh;
padding: 1vh 1vh; overflow: hidden;
box-sizing: border-box;
border: 1px gainsboro solid;
overflow-y: scroll;
} }
} }
......
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