Showing
1 changed file
with
10 additions
and
6 deletions
| ... | @@ -1021,15 +1021,19 @@ export default { | ... | @@ -1021,15 +1021,19 @@ export default { |
| 1021 | } | 1021 | } |
| 1022 | }) | 1022 | }) |
| 1023 | } else { | 1023 | } else { |
| 1024 | + let arr = this.$route.params.route.split(';') | ||
| 1025 | + this.infoRouteList = arr | ||
| 1024 | //航班类型Purple Tail展示全部航线维度 | 1026 | //航班类型Purple Tail展示全部航线维度 |
| 1025 | // this.isEmpty = true | 1027 | // this.isEmpty = true |
| 1026 | this.routeList.forEach((route) => { | 1028 | this.routeList.forEach((route) => { |
| 1027 | - this.infoForm.list.push({ | 1029 | + if (arr.includes(route.route)) { |
| 1028 | - purposeOfFlightNo: this.infoForm.fltNo, | 1030 | + this.infoForm.list.push({ |
| 1029 | - ruleDate: this.infoForm.fltDate, | 1031 | + purposeOfFlightNo: this.infoForm.fltNo, |
| 1030 | - flightRoute: route.route, | 1032 | + ruleDate: this.infoForm.fltDate, |
| 1031 | - routePriority: route.routePriority, | 1033 | + flightRoute: route.route, |
| 1032 | - }) | 1034 | + routePriority: route.routePriority, |
| 1035 | + }) | ||
| 1036 | + } | ||
| 1033 | }) | 1037 | }) |
| 1034 | } | 1038 | } |
| 1035 | } | 1039 | } | ... | ... |
-
Please register or login to post a comment