Commit 63efc794 authored by xxx's avatar xxx

1

parent 0ef1be88
......@@ -26,7 +26,7 @@
</div>
<div style="display:flex;">
<span>车辆位置:</span>
<div class="getweizhitu1" style="" @click="getLocationFn()">
<div class="getweizhitu1" @click="getLocationFn()">
<img src="../../../../assets/images/truckTuPian/dingwei1.png">
<span>{{getLocationText}}</span>
</div>
......@@ -217,9 +217,13 @@ export default {
if(this.from.car == '当前车辆故障'){
this.from.carcode = this.carnumber;
this.from.name = this.personName;
this.getLocationFn();
}else{
this.from.carcode = '';
this.from.name = '';
this.from.lat = '';
this.from.lon = '';
this.zuobiaoShow = false;
}
},
},
......
......@@ -4,12 +4,12 @@
<img src="../../../../assets/images/truckTuPian/close.png" class="voiceAppClose" @click="voiceAppCloseFn()">
<div class="voiceAppContent">
<div class="voiceAppContent_1">
<div class="voiceAppContent_1_1">选择车队</div>
<el-select v-model="selectCarFleet" placeholder="请选择车队" style="width:19vw;">
<div class="voiceAppContent_1_1">选择车队</div>
<el-select v-model="selectCarFleet" placeholder="请选择车队" style="width:20vw;" @change="toSearch()">
<el-option v-for="(item,index) in carFleetData" :key="index" :label="item.name" :value="item.name" style="font-size:18px;"></el-option>
</el-select>
<el-input v-model="searchText" placeholder="请输入车牌号" style="width:19vw;"></el-input>
<el-button type="primary" round class="voiceAppContent_1_btn1" @click="toSearch()">查询</el-button>
<!-- <el-input v-model="searchText" placeholder="请输入车牌号" style="width:19vw;"></el-input>
<el-button type="primary" round class="voiceAppContent_1_btn1" @click="toSearch()">查询</el-button> -->
</div>
<div class="voiceAppContent_2">
<div>
......@@ -206,9 +206,14 @@ export default {
//获取车辆信息并添加调度大屏的语音id
httpGet(vehicleInformationQuery,query).then((res) => {
if(res.code == 200){
let obj1 = res.data.content;
let obj1 = [];
res.data.content.forEach((item,index)=>{
if(item.odo != 0){
obj1.push(item);
}
})
obj1.unshift({number:'pcBigScreen'});
this.carsInforData = res.data.content;
this.carsInforData = obj1;
}
});
},
......@@ -850,7 +855,7 @@ export default {
}
.voiceAppContent_1{
display: flex;
justify-content: space-between;
justify-content: center;
}
.voiceAppContent_1>div{
height: 6.5vh;
......@@ -1166,7 +1171,7 @@ export default {
}
.voiceAppContent_1{
display: flex;
justify-content: space-between;
justify-content: center;
}
.voiceAppContent_1>div{
height: 40px;
......
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