diff --git a/src/app/pages/basic-data/checkin-desk/checkin-desk.component.html b/src/app/pages/basic-data/checkin-desk/checkin-desk.component.html
index c08f2c9..cef319b 100644
--- a/src/app/pages/basic-data/checkin-desk/checkin-desk.component.html
+++ b/src/app/pages/basic-data/checkin-desk/checkin-desk.component.html
@@ -1,75 +1,79 @@
-
-
-
-
-
-
-
-
-
- | 序号 |
- 值机柜台代码 |
- 值机柜台名称 |
- 值机岛 |
- 行李传送带 |
- 航站楼区域 |
-
-
-
-
- | {{i+1}} |
- {{checkinDesk.checkindeskCode}} |
- {{checkinDesk.checkindeskName}} |
- {{checkinDesk.checkinGroupName}} |
- {{checkinDesk.chutName}} |
- {{checkinDesk.terminalAreaName}} |
-
-
-
-
-
-
+
+
+
+
+
+
+ | 序号 |
+ {{col.COL_CN}} |
+
+
+
+
+
+
+
+
+
+
+ | {{start+i+1}} |
+ {{checkinDesk[col.COL_CODE]}} |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/pages/basic-data/checkin-desk/checkin-desk.component.scss b/src/app/pages/basic-data/checkin-desk/checkin-desk.component.scss
deleted file mode 100644
index 2804efa..0000000
--- a/src/app/pages/basic-data/checkin-desk/checkin-desk.component.scss
+++ /dev/null
@@ -1,59 +0,0 @@
-.main-page {
- width: 100%;
- height: 100%;
- overflow-y: scroll;
- padding: 15px 10px;
- background-color: #fff;
- .page-content {
- border: 1px solid #ccc;
- padding: 10px 20px;
- .search-filter {
- padding: 0 15px;
- .input-container {
- padding: 0;
- > .form-control {
- width: 180px;
- display: inline-block;
- }
- }
- }
- .airline-table{
- .table-container{
- // border: 1px solid #ccc;
- width: 100%;
- height: 700px;
- overflow: auto;
- box-shadow: 0 0 1px .5px #ddd;
- table{
- width: max-content;
- tr{
- cursor: pointer;
- &.selected{
- background: rgb(181, 215, 255);
- }
- }
- th{
- background-color: #ddd;
- color: rgb(0, 0, 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/checkin-desk/checkin-desk.component.ts b/src/app/pages/basic-data/checkin-desk/checkin-desk.component.ts
index fbfea04..e5bdf49 100644
--- a/src/app/pages/basic-data/checkin-desk/checkin-desk.component.ts
+++ b/src/app/pages/basic-data/checkin-desk/checkin-desk.component.ts
@@ -1,31 +1,36 @@
-import { Component, OnInit } from '@angular/core';
+import { Component, OnInit, ViewChild, Renderer2 } from '@angular/core';
import { BasicDataService } from '../../../services/basic-data-service';
-import { ChangeDetectorRef } from '@angular/core';
+import { OperateSpinServiceService } from '../../../services/operate-spin-service.service';
import * as $ from 'jquery';
@Component({
selector: 'app-checkin-desk',
templateUrl: './checkin-desk.component.html',
- styleUrls: ['./checkin-desk.component.scss']
+ styleUrls: ['../basic.scss']
})
export class CheckinDeskComponent implements OnInit {
constructor(
+ private renderer2: Renderer2,
private basicDataService: BasicDataService,
- private changeDetectorRef: ChangeDetectorRef
- ) { }
+ private operateSpinServiceService: OperateSpinServiceService,
+ ) {
+ this.operateSpinServiceService.showSpin();
+ }
- public col_lists = [
- { col_code: 'checkindeskCode', col_chn: '值机柜台代码' },
- { col_code: 'checkindeskName', col_chn: '值机柜台名称' },
- { col_code: 'checkinGroupName', col_chn: '值机岛' },
- { col_code: 'chutName', col_chn: '行李传送带' },
- { col_code: 'terminalAreaName', col_chn: '航站楼区域' },
+ public render_col_lists = [
+ { COL_CODE: 'checkindeskCode', COL_CN: '值机柜台代码', COL_WIDTH: "120px" },
+ { COL_CODE: 'checkindeskName', COL_CN: '值机柜台名称', COL_WIDTH: "150px" },
+ { COL_CODE: 'checkinGroupName', COL_CN: '值机岛', COL_WIDTH: "120px" },
+ { COL_CODE: 'chutName', COL_CN: '行李传送带', COL_WIDTH: "120px" },
+ { COL_CODE: 'terminalAreaName', COL_CN: '航站楼区域', COL_WIDTH: "120px" },
]
// 搜索条件
SEARCH = ''; //手动输入条件
+ LASTSEARCH = '';
FLT_POS = 1; //过滤还是定位
SEL_COL = ''; //选择列名
+ LAST_SEL_COL = '';
//下拉框
public filterItems = {
@@ -34,125 +39,201 @@ export class CheckinDeskComponent implements OnInit {
chutCode: '',
}
- checkinGroups: Array
; //值机岛
- terminalAreas: Array; //所属航站楼区域
- chuts: Array; //行李传送带
- checkinDesks: Array;
- public row_state: any = { renderFlight: {} };
+ public checkinGroups: Array; //值机岛
+ public terminalAreas: Array; //所属航站楼区域
+ public chuts: Array; //行李传送带
+ public checkinDesks: Array;
+
+ public wait_render_data: Array