切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
朱兆平
12 months ago
提交
a4a4ebda49607489cb1548d3719447df05f64672
1 个父辈
0549fe49
bug-fix:
1. 车辆调度 接口访问部分优化
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
15 行增加
和
1 行删除
src/views/dispatch/Dispatch.vue
src/views/dispatch/Dispatch.vue
查看文件 @
a4a4ebd
...
...
@@ -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;
this.lisenceNoSatus=res.data.data.firstVcl.offlineState;
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(()=>{
});
},
//获取备案列表
...
...
请
注册
或
登录
后发表评论