Showing
1 changed file
with
0 additions
and
27 deletions
| ... | @@ -435,9 +435,6 @@ export default { | ... | @@ -435,9 +435,6 @@ export default { |
| 435 | ); | 435 | ); |
| 436 | }); | 436 | }); |
| 437 | this.routesInfo = mergeDateRouteInfo; // 航班航线配置信息列表 | 437 | this.routesInfo = mergeDateRouteInfo; // 航班航线配置信息列表 |
| 438 | - if (this.$route.query.flightKindName == "Purple Tail") { | ||
| 439 | - this.showFlightKind(dateDataLists); | ||
| 440 | - } | ||
| 441 | this.pageLoading = false; | 438 | this.pageLoading = false; |
| 442 | } else { | 439 | } else { |
| 443 | // 当前航线有缺省的航线配置 | 440 | // 当前航线有缺省的航线配置 |
| ... | @@ -572,7 +569,6 @@ export default { | ... | @@ -572,7 +569,6 @@ export default { |
| 572 | this.pageLoading = false; | 569 | this.pageLoading = false; |
| 573 | } else { | 570 | } else { |
| 574 | this.routeList = dateRouteList; // 航线优先级 | 571 | this.routeList = dateRouteList; // 航线优先级 |
| 575 | - this.queryForm = this.$route.query; // 获取跳转过来的参数 | ||
| 576 | this.routesInfo = dateList; | 572 | this.routesInfo = dateList; |
| 577 | this.pageLoading = false; | 573 | this.pageLoading = false; |
| 578 | } | 574 | } |
| ... | @@ -594,29 +590,6 @@ export default { | ... | @@ -594,29 +590,6 @@ export default { |
| 594 | }); | 590 | }); |
| 595 | return routesInfo; | 591 | return routesInfo; |
| 596 | }, | 592 | }, |
| 597 | - // 处理跳转显示航线种类 | ||
| 598 | - showFlightKind(dateDataLists) { | ||
| 599 | - let flightRouteListStr = this.$route.query.flightRouteListStr.split(";"); // 跳转传过来的航线 | ||
| 600 | - // 查找跳转传过来的对应的航线把包含的航线并且按照dateDataLists航线排序 | ||
| 601 | - let inRoutes = dateDataLists | ||
| 602 | - .filter((item) => flightRouteListStr.includes(item.route)) | ||
| 603 | - .sort( | ||
| 604 | - (a, b) => | ||
| 605 | - flightRouteListStr.indexOf(a.route) - | ||
| 606 | - flightRouteListStr.indexOf(b.route) | ||
| 607 | - ); | ||
| 608 | - // 处理航线优先级展示ET86 | ||
| 609 | - let routes = []; | ||
| 610 | - inRoutes.map((item, i, arr) => { | ||
| 611 | - if (arr[i].etesRule == "Y") { | ||
| 612 | - routes.push(`${arr[i].route}(ET86)`); | ||
| 613 | - } else { | ||
| 614 | - routes.push(arr[i].route); | ||
| 615 | - } | ||
| 616 | - }); | ||
| 617 | - // 把处理ET86航线优先级展示 | ||
| 618 | - this.queryForm.flightRouteListStr = routes.join(";"); | ||
| 619 | - }, | ||
| 620 | // 整合飞行航线配置信息 | 593 | // 整合飞行航线配置信息 |
| 621 | mergeFlightRouteConfigObj(routeList, dataList) { | 594 | mergeFlightRouteConfigObj(routeList, dataList) { |
| 622 | if (dataList.length) { | 595 | if (dataList.length) { | ... | ... |
-
Please register or login to post a comment