-
-
-
+
+
+
+
+
+
+ | 序号 |
+ {{col.COL_CN}} |
+
+
+
+
+
+
+
+
+
+
+ | {{start+i+1}} |
+ {{stand[col.COL_CODE]}} |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/pages/basic-data/stand/stand.component.ts b/src/app/pages/basic-data/stand/stand.component.ts
index fd53a01..5901d13 100644
--- a/src/app/pages/basic-data/stand/stand.component.ts
+++ b/src/app/pages/basic-data/stand/stand.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-stand',
templateUrl: './stand.component.html',
- styleUrls: ['./stand.component.scss']
+ styleUrls: ['../basic.scss']
})
export class StandComponent implements OnInit {
constructor(
+ private renderer2: Renderer2,
private basicDataService: BasicDataService,
- private changeDetectorRef: ChangeDetectorRef
- ) { }
+ private operateSpinServiceService: OperateSpinServiceService,
+ ) {
+ this.operateSpinServiceService.showSpin();
+ }
- public col_lists = [
- { col_code: 'standCode', col_chn: '机位代码' },
- { col_code: 'standName', col_chn: '机位名称' },
- { col_code: 'standTypeDesc', col_chn: '机位类型' },
- { col_code: 'standStatus', col_chn: '资源状态' },
- { col_code: 'terminalAreaName', col_chn: '航站楼区域' },
+ public render_col_lists = [
+ { COL_CODE: 'standCode', COL_CN: '机位代码', COL_WIDTH: "120px" },
+ { COL_CODE: 'standName', COL_CN: '机位名称', COL_WIDTH: "150px" },
+ { COL_CODE: 'standTypeDesc', COL_CN: '机位类型', COL_WIDTH: "130px" },
+ { COL_CODE: 'standStatus', 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,133 +39,187 @@ export class StandComponent implements OnInit {
standStatus: '',
}
- terminalAreas: Array
; //所属航站楼区域
- standTypes: Array; //停机位类别
- stands: Array;
- public row_state: any = { renderFlight: {} };
+ public terminalAreas: Array; //所属航站楼区域
+ public standTypes: Array; //停机位类别
+ public stands: Array;
+
+ public wait_render_data: Array