Commit 094d112e authored by xxx's avatar xxx

修改

parent b8e614d5
...@@ -168,6 +168,8 @@ export default { ...@@ -168,6 +168,8 @@ export default {
let href1 = window.location.href; let href1 = window.location.href;
let href2 = href1.split('?')[1]; let href2 = href1.split('?')[1];
this.userName1 = href2; this.userName1 = href2;
//展示二维地图
this.$refs.mars3dViewerMapMethod.getCarInforFn();
//获取司机人员信息 //获取司机人员信息
httpGet(personalCenterInforQuery,{userName:this.userName1}).then((res) => { httpGet(personalCenterInforQuery,{userName:this.userName1}).then((res) => {
if(res.code == 200){ if(res.code == 200){
...@@ -181,7 +183,7 @@ export default { ...@@ -181,7 +183,7 @@ export default {
if(res.data.totalElements == 0){ if(res.data.totalElements == 0){
return return
}else{ }else{
this.$refs.mars3dViewerMapMethod.getCarInforFn(this.carnumber,res.data.content[0].equipmentName); //this.$refs.mars3dViewerMapMethod.getCarInforFn(this.carnumber,res.data.content[0].equipmentName);
this.carclass = res.data.content[0].carclass; this.carclass = res.data.content[0].carclass;
if(this.carclass == '电铲'){ if(this.carclass == '电铲'){
this.loadData1(); this.loadData1();
......
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