Commit f081956e authored by xxx's avatar xxx

修改

parent 5c7fbb96
...@@ -124,15 +124,16 @@ export default { ...@@ -124,15 +124,16 @@ export default {
//获取总的车辆信息 //获取总的车辆信息
HttpReq.truckDispatching.carInformationQuery({size:9999,carclass:'铲车'}).then((res) => { HttpReq.truckDispatching.carInformationQuery({size:9999,carclass:'铲车'}).then((res) => {
if(res.code == 200){ if(res.code == 200){
let aa1 = []; this.carInformationDataAll = res.data.content;
aa1 = res.data.content; // let aa1 = [];
//获取卸点区域信息 // aa1 = res.data.content;
HttpReq.truckDispatching.onlyGetMiningAreaQuery({size:9999}).then((res) => { // //获取卸点区域信息
res.forEach((item,index)=>{ // HttpReq.truckDispatching.onlyGetMiningAreaQuery({size:9999}).then((res) => {
aa1.push(item); // res.forEach((item,index)=>{
}); // aa1.push(item);
this.carInformationDataAll = aa1; // });
}) // this.carInformationDataAll = aa1;
// })
} }
}) })
//获取车队 //获取车队
......
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