Commit 2a61db1c authored by zhanglw's avatar zhanglw

地磅

parent e90645d0
......@@ -78,9 +78,7 @@ export default {
bindingStatus: false,
//绑定的车牌号
bindingCar: "",
userNameList: [
{value:'xxxxx'}, {value:'eeeeee'}
]
userNameList: []
};
},
created() {
......
......@@ -429,10 +429,6 @@ export default {
this.getAreaInformation();
this.getRoadblockInformation();
}, 120000);
this.getAllOnlineCarPosition();
this.posTimer = setInterval(() => {
this.getAllOnlineCarPosition();
}, 2000);
this.drawNavigation();
},
getRoadblockInformation() {
......@@ -556,6 +552,7 @@ export default {
});
},
getAllOnlineCarPosition() {
let that = this
httpGet(posGetAllOnlineCarPosition).then((res) => {
if (res.code == 200) {
const layer = this.mapDom.getLayer('markerLayer');
......@@ -791,11 +788,13 @@ export default {
this.equipmentName = res1.data.content[0].equipmentName;
//执行获取位置
if (this.equipmentName) {
this.getAllOnlineCarPosition();
this.posTimer = setInterval(() => {
this.getAllOnlineCarPosition();
}, 2000);
this.zongTimer3 = setInterval(() => {
// this.getCarLoaction2();
this.getSerialReceiveIndex();
}, 2000);
// this.getCarLoaction1();
}
}
}
......
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