Commit 4a0c164b authored by 黄奎's avatar 黄奎

页面查询修改

parent ea3c554d
...@@ -589,7 +589,7 @@ ...@@ -589,7 +589,7 @@
this.ConfigId = configId; this.ConfigId = configId;
let msg = { let msg = {
configId: configId, configId: configId,
isSale: this.TeamType==1?true:false TeamType: this.TeamType
}; };
this.loading = true; this.loading = true;
this.apipost( this.apipost(
...@@ -720,26 +720,14 @@ ...@@ -720,26 +720,14 @@
this.loading = true; this.loading = true;
this.apipost( this.apipost(
"travel_get_GetCommonTravelInfo", { "travel_get_GetCommonTravelInfo", {
isSale: this.TeamType==1?true:false, TeamType: this.TeamType
lineDirection:this.TeamType==2?3:2
}, },
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
var tempData = res.data.data; var tempData = res.data.data;
if (tempData.LineList != null) { if (tempData.LineList != null) {
let data = tempData.LineList;
let dataTwo = [];
if ( this.TeamType==1) {
data.forEach(x => {
if (x.Is_PacketGroup == 1) {
dataTwo.push(x);
}
});
this.LineList = dataTwo;
} else {
this.LineList = tempData.LineList; this.LineList = tempData.LineList;
} }
}
if (tempData.AllCityList != null) { if (tempData.AllCityList != null) {
this.AllCityList = tempData.AllCityList; this.AllCityList = tempData.AllCityList;
} }
......
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