Showing
1 changed file
with
17 additions
and
7 deletions
| ... | @@ -821,15 +821,25 @@ export default { | ... | @@ -821,15 +821,25 @@ export default { |
| 821 | }) | 821 | }) |
| 822 | } | 822 | } |
| 823 | }) | 823 | }) |
| 824 | - } | 824 | + } else { |
| 825 | - else { | ||
| 826 | this.routeList.forEach((route) => { | 825 | this.routeList.forEach((route) => { |
| 827 | - this.infoForm.list.push({ | 826 | + let routeStatus = 1 |
| 828 | - purposeOfFlightNo: this.infoForm.fltNo, | 827 | + infoRouteList.forEach((item, index) => { |
| 829 | - ruleDate: this.infoForm.fltDate, | 828 | + if (item == route.route) { |
| 830 | - flightRoute: route.route, | 829 | + routeStatus = 2 |
| 831 | - routePriority: route.routePriority, | 830 | + this.infoForm.list.push( |
| 831 | + this.dataHandle(res.data.list[index]) | ||
| 832 | + ) | ||
| 833 | + } | ||
| 832 | }) | 834 | }) |
| 835 | + if (routeStatus == 1) { | ||
| 836 | + this.infoForm.list.push({ | ||
| 837 | + purposeOfFlightNo: this.infoForm.fltNo, | ||
| 838 | + ruleDate: this.infoForm.fltDate, | ||
| 839 | + flightRoute: route.route, | ||
| 840 | + routePriority: route.routePriority, | ||
| 841 | + }) | ||
| 842 | + } | ||
| 833 | }) | 843 | }) |
| 834 | } | 844 | } |
| 835 | }).catch(err => { | 845 | }).catch(err => { | ... | ... |
-
Please register or login to post a comment