Commit 2e196141 authored by 黄奎's avatar 黄奎

团控查询优化

parent 8dfea9c9
......@@ -919,7 +919,7 @@
noData: false,
currentPage: 1,
//航班配置
FlightState: 1,
FlightState: 0,
//预警团
IsWarning: false,
WarningQuery: '-1',
......@@ -943,12 +943,12 @@
flightStatus: [{
Id: 0,
Name: '不限',
Checked: false
Checked: true
},
{
Id: 1,
Name: '已配置',
Checked: true
Checked: false
},
{
Id: 2,
......@@ -1672,39 +1672,13 @@
this.$route.query.tcmun = this.$route.query.tcmun
if (this.$route.query.tcmun) {
this.queryCommonData.flightCKed = [];
this.queryCommonData.flightCKed.push(0);
this.flightStatus.forEach((subItem, subIndex) => {
if (subIndex == 0) {
subItem.Checked = true;
} else {
subItem.Checked = false;
}
});
this.queryMsg.TCNUM = this.$route.query.tcmun;
}
if (this.$route.query.HotelId) {
this.queryCommonData.flightCKed = [];
this.queryCommonData.flightCKed.push(0);
this.flightStatus.forEach((subItem, subIndex) => {
if (subIndex == 0) {
subItem.Checked = true;
} else {
subItem.Checked = false;
}
});
this.queryMsg.HotelId = this.$route.query.HotelId;
}
if (this.$route.query.HotelUseTime) {
this.queryCommonData.flightCKed = [];
this.queryCommonData.flightCKed.push(0);
this.flightStatus.forEach((subItem, subIndex) => {
if (subIndex == 0) {
subItem.Checked = true;
} else {
subItem.Checked = false;
}
});
this.queryMsg.HotelUseTime = this.$route.query.HotelUseTime
}
......
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