diff --git a/src/app/pages/basic-data/airport/airport.component.html b/src/app/pages/basic-data/airport/airport.component.html
index 06b1f14..7d32320 100644
--- a/src/app/pages/basic-data/airport/airport.component.html
+++ b/src/app/pages/basic-data/airport/airport.component.html
@@ -1,3 +1,69 @@
-
- airport works!
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | 序号 |
+ {{airline_col.COL_CN}} |
+
+
+
+
+ | {{i+1}} |
+ {{airline_row['renderFlight'][airline_col.COL_CODE]}} |
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/pages/basic-data/airport/airport.component.scss b/src/app/pages/basic-data/airport/airport.component.scss
index e69de29..cf17098 100644
--- a/src/app/pages/basic-data/airport/airport.component.scss
+++ b/src/app/pages/basic-data/airport/airport.component.scss
@@ -0,0 +1,63 @@
+.main-page {
+ width: 100%;
+ height: calc(100% - 66px);
+ padding: 15px 10px;
+ background-color: #fff;
+ .page-content {
+ border: 1px solid #ccc;
+ padding: 10px 20px;
+ .search-filter {
+ padding: 0 15px;
+ .first-condition {
+ .line-operator-right {
+ text-align: right;
+ padding: 0;
+ .btn-info {
+ background-color: rgb(122, 156, 204);
+ border-color: rgb(122, 156, 204);
+ }
+ }
+ }
+ .input-container {
+ padding: 0;
+ > .form-control {
+ width: 180px;
+ display: inline-block;
+ }
+ }
+ }
+ .airline-table{
+ .table-container{
+ // border: 1px solid #ccc;
+ width: 100%;
+ height: 700px;
+ overflow: scroll;
+ table{
+ width: max-content;
+ tr{
+ cursor: pointer;
+ &.active{
+ background: rgb(181, 215, 255);
+ }
+ }
+ th,td{
+ // border: none;
+ text-align: center;
+ }
+ }
+ }
+ }
+ }
+}
+
+@media screen and (max-width: 991px) {
+ .line-operator-right {
+ text-align: left !important;
+ }
+}
+
+// @media screen and (min-width: 1200px){
+// .line-operator-right{
+// text-align: left;
+// }
+// }
diff --git a/src/app/pages/basic-data/airport/airport.component.ts b/src/app/pages/basic-data/airport/airport.component.ts
index 9f1f2a1..c6d1dd6 100644
--- a/src/app/pages/basic-data/airport/airport.component.ts
+++ b/src/app/pages/basic-data/airport/airport.component.ts
@@ -1,5 +1,7 @@
import { Component, OnInit } from '@angular/core';
-
+import { ChangeDetectorRef } from '@angular/core';
+import { HttpClientService } from '../../../services/http-client.service';
+import dateFormatter from '../../../utils/data-formatter';
@Component({
selector: 'app-airport',
templateUrl: './airport.component.html',
@@ -7,9 +9,458 @@ import { Component, OnInit } from '@angular/core';
})
export class AirportComponent implements OnInit {
- constructor() { }
+ constructor(
+ private httpCilent: HttpClientService,
+ private changeDetectorRef: ChangeDetectorRef
+) { }
- ngOnInit() {
+public raw_data: Array