Commit 01333c66 authored by xxx's avatar xxx

删除退出时人员与车辆的解绑操作

parent 56c0c647
...@@ -154,10 +154,7 @@ export default { ...@@ -154,10 +154,7 @@ export default {
}else{ }else{
//修改车辆状态为离线 //修改车辆状态为离线
putForJson(vehicleInformationUpdate,{id:res1.data.content[0].id,odo:0,oddStatus:1}).then((res2) => { putForJson(vehicleInformationUpdate,{id:res1.data.content[0].id,odo:0,oddStatus:1}).then((res2) => {
//人员信息表中与车辆解绑
putForJson(personalCenterInforQuery,{id:this.personalInformationData.id,car:''}).then((res3) => {
this.logout(); this.logout();
})
}); });
} }
} }
...@@ -245,8 +242,6 @@ export default { ...@@ -245,8 +242,6 @@ export default {
}else{ }else{
//修改车辆状态为离线 //修改车辆状态为离线
putForJson(vehicleInformationUpdate,{id:res1.data.content[0].id,odo:0,oddStatus:1}).then((res2) => {}); putForJson(vehicleInformationUpdate,{id:res1.data.content[0].id,odo:0,oddStatus:1}).then((res2) => {});
//人员信息表中与车辆解绑
putForJson(personalCenterInforQuery,{id:this.personalInformationData.id,car:''}).then((res3) => {})
} }
} }
}); });
......
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