...
|
...
|
@@ -520,6 +520,8 @@ |
|
|
this.usernames = res.data.data.list;
|
|
|
}).catch((error) => {
|
|
|
this.$message.error(error.toString());
|
|
|
}).finally(()=>{
|
|
|
this.listLoading = false;
|
|
|
});
|
|
|
|
|
|
},
|
...
|
...
|
@@ -528,9 +530,21 @@ |
|
|
this.queryInfo.vno=lisenceNo;
|
|
|
selectVehicle(this.queryInfo).then((response) => {
|
|
|
const res = response.data;
|
|
|
if (res.code ==='200'){
|
|
|
this.$message.success('获取到车辆状态信息:' + res.data.msg);
|
|
|
if (res.data
|
|
|
&& res.data.data
|
|
|
&& res.data.data.firstVcl
|
|
|
&& res.data.data.firstVcl.offlineState){
|
|
|
this.lisenceNoSatus=res.data.data.firstVcl.offlineState;
|
|
|
}else {
|
|
|
this.$message.error('获取车辆状态失败:' + res.data.msg);
|
|
|
}
|
|
|
}
|
|
|
}).catch(error => {
|
|
|
this.$message.error('获取车辆状态失败:' + error.toString());
|
|
|
}).finally(()=>{
|
|
|
|
|
|
});
|
|
|
},
|
|
|
//获取备案列表
|
...
|
...
|
|