Commit 9af1b667 authored by caicaicai's avatar caicaicai

修改

parent 3dfff513
...@@ -2008,6 +2008,14 @@ var HttpReq = function(){ ...@@ -2008,6 +2008,14 @@ var HttpReq = function(){
params:param, params:param,
}) })
}, },
//车辆调度——只获取卸区接口
onlyGetXieQuQuery: function(param){
return request({
url: '/api/AreaNew/class',
method: 'get',
params:param,
})
},
//获取用于选择用户的用户名 //获取用于选择用户的用户名
getAllSystemUserNameQuery:function(param){ getAllSystemUserNameQuery:function(param){
return request({ return request({
......
...@@ -129,7 +129,14 @@ export default { ...@@ -129,7 +129,14 @@ export default {
}) })
//获取区域信息 //获取区域信息
HttpReq.truckDispatching.onlyGetMiningAreaQuery({size:9999}).then((res) => { HttpReq.truckDispatching.onlyGetMiningAreaQuery({size:9999}).then((res) => {
this.areaInformationData = res; let caiquxiequ1 = res;
HttpReq.truckDispatching.onlyGetXieQuQuery({size:9999}).then((res) => {
res.forEach((item,index)=>{
caiquxiequ1.push(item);
})
console.log('caiquxiequ1',caiquxiequ1);
//this.areaInformationData = caiquxiequ1;
})
}) })
//获取车辆类型 //获取车辆类型
HttpReq.truckDispatching.carTypeQuery({size:9999}).then((res) => { HttpReq.truckDispatching.carTypeQuery({size:9999}).then((res) => {
......
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