Commit 463444ea authored by xxx's avatar xxx

修改

parent 094d112e
......@@ -23,16 +23,16 @@
<div :class="selectFunction == 2 ? 'voiceAp2' : 'voiceAp1'" @click="voiceApFn()">
<div :class="selectFunction == 2 ? 'centerViewsTitle1' : 'centerViewsTitle2'">语音申请</div>
</div>
<div :class="selectFunction == 3 ? 'failureDe2' : 'failureDe1'" @click="failureDeFn()">
<div :class="(leftBtnDisable && selectFunction == 3) ? 'failureDe2' : 'failureDe1'" @click="leftBtnDisable && failureDeFn()">
<div :class="selectFunction == 3 ? 'centerViewsTitle1' : 'centerViewsTitle2'">故障申报</div>
</div>
<div :class="selectFunction == 4 ? 'performanceSt2' : 'performanceSt1'" @click="performanceStFn()">
<div :class="(leftBtnDisable && selectFunction == 4) ? 'performanceSt2' : 'performanceSt1'" @click="leftBtnDisable && performanceStFn()">
<div :class="selectFunction == 4 ? 'centerViewsTitle1' : 'centerViewsTitle2'">绩效统计</div>
</div>
<div :class="selectFunction == 5 ? 'carIn2' : 'carIn1'" @click="carInFn()">
<div :class="(leftBtnDisable && selectFunction == 5) ? 'carIn2' : 'carIn1'" @click="leftBtnDisable && carInFn()">
<div :class="selectFunction == 5 ? 'centerViewsTitle1' : 'centerViewsTitle2'">车辆信息</div>
</div>
<div :class="selectFunction == 6 ? 'personalCe2' : 'personalCe1'" @click="personalCeFn()">
<div :class="(leftBtnDisable && selectFunction == 6) ? 'personalCe2' : 'personalCe1'" @click="leftBtnDisable && personalCeFn()">
<div :class="selectFunction == 6 ? 'centerViewsTitle1' : 'centerViewsTitle2'">个人中心</div>
</div>
......@@ -124,6 +124,7 @@ export default {
userName1:'',
carclass:'',
daizhangCar:[],
leftBtnDisable:true,//左侧选项按钮是否可用
}
},
mounted(){
......@@ -168,8 +169,6 @@ export default {
let href1 = window.location.href;
let href2 = href1.split('?')[1];
this.userName1 = href2;
//展示二维地图
this.$refs.mars3dViewerMapMethod.getCarInforFn();
//获取司机人员信息
httpGet(personalCenterInforQuery,{userName:this.userName1}).then((res) => {
if(res.code == 200){
......@@ -195,6 +194,9 @@ export default {
});
}
});
//展示二维地图
this.$refs.mars3dViewerMapMethod.getCarInforFn();
},
//获取待装卡车列表
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