Commit 6181b0c3 authored by xxx's avatar xxx

1

parent 1f91963f
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
<el-container style="display:flex;justify-content: space-between;"> <el-container style="display:flex;justify-content: space-between;">
<el-aside width="20vw" style="height: 89vh;margin-top: 5.5vh;z-index: 3;"> <el-aside width="20vw" style="height: 89vh;margin-top: 5.5vh;z-index: 3;">
<div class="videoCarsInput"> <div class="videoCarsInput">
<el-input placeholder="请输入车牌号" prefix-icon="el-icon-search" v-model="searchCarText" @keyup.enter.native="searchCarFn"></el-input> <div style="color: #A6F6F9;">选择车牌号:</div>
<el-select v-model="searchCarText" placeholder="选择车牌号" @change="searchCarFn()">
<el-option v-for="item in searchCarData" :key="item.number" :label="item.number" :value="item.number"></el-option>
</el-select>
</div> </div>
<el-tree <el-tree
...@@ -154,6 +157,8 @@ export default { ...@@ -154,6 +157,8 @@ export default {
//图片数据 //图片数据
elimageSrc:'', elimageSrc:'',
elimageSrcShow:false, elimageSrcShow:false,
//车辆数据
searchCarData:[],
}; };
}, },
mounted() { mounted() {
...@@ -162,6 +167,12 @@ export default { ...@@ -162,6 +167,12 @@ export default {
}, },
methods: { methods: {
getCode() { getCode() {
//获取车辆信息
HttpReq.truckDispatching.carInformationQuery({size:9999}).then((res) => {
if(res.code == 200){
this.searchCarData = res.data.content;
}
})
//分区数据 //分区数据
HttpReq.truckDispatching.carMonitoringFleetQuery({size: 999}).then((res) => { HttpReq.truckDispatching.carMonitoringFleetQuery({size: 999}).then((res) => {
let data1 = []; let data1 = [];
...@@ -872,6 +883,8 @@ export default { ...@@ -872,6 +883,8 @@ export default {
height: 4vh; height: 4vh;
width: 90%; width: 90%;
margin: 0px auto; margin: 0px auto;
display: flex;
justify-content: space-between;
} }
.video111 .aiAnalysisRightViews{ .video111 .aiAnalysisRightViews{
width: 20vw; width: 20vw;
......
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