|
@@ -103,7 +103,7 @@ export default {
|
|
|
console.log(res.data.data);
|
|
|
if (res.data.data == "-1") {
|
|
|
this.$message.error("运输订单未关闭,自提车辆无权查看!");
|
|
|
- } else if (res.data.data.status != "1006") {
|
|
|
+ } else if (res.data.data.status == "1001") {
|
|
|
that.map.setCenter([
|
|
|
res.data.data.result.lon,
|
|
|
res.data.data.result.lat
|
|
@@ -136,8 +136,8 @@ export default {
|
|
|
}
|
|
|
this.lon = res.data.data.result.lon;
|
|
|
this.lat = res.data.data.result.lat;
|
|
|
- } else {
|
|
|
- this.$message.error("车辆暂时无GPS");
|
|
|
+ } else{
|
|
|
+ this.$message.error(res.data.data.statusStr);
|
|
|
//清除定时器
|
|
|
clearTimeout(this.timer);
|
|
|
}
|