+
-
-
-
-
- | 序号 |
- 行李转盘代码 |
- 行李转盘名称 |
- 航站楼区域 |
- 资源状态 |
-
-
-
-
- | {{i+1}} |
- {{carousel.carouselCode}} |
- {{carousel.carouselName}} |
- {{carousel.terminalAreaName}} |
- {{carousel.carouselStatus}} |
-
-
-
+
+
+
+
+
+ | 序号 |
+ {{col.COL_CN}} |
+
+
+
+
+
+
+
+
+
+
+ | {{start+i+1}} |
+ {{carousel[col.COL_CODE]}} |
+
+
+
+
+
diff --git a/src/app/pages/basic-data/carousel/carousel.component.ts b/src/app/pages/basic-data/carousel/carousel.component.ts
index f4add6d..c4c8dfd 100644
--- a/src/app/pages/basic-data/carousel/carousel.component.ts
+++ b/src/app/pages/basic-data/carousel/carousel.component.ts
@@ -1,144 +1,221 @@
-import { Component, OnInit } from '@angular/core';
-import { BasicDataService } from '../../../services/basic-data-service'
-import { ChangeDetectorRef } from '@angular/core';
+import { Component, OnInit, ViewChild, Renderer2 } from '@angular/core';
+import { BasicDataService } from '../../../services/basic-data-service';
+import { OperateSpinServiceService } from '../../../services/operate-spin-service.service';
import * as $ from 'jquery';
@Component({
selector: 'app-carousel',
templateUrl: './carousel.component.html',
- styleUrls: ['./carousel.component.scss']
+ styleUrls: ['../basic.scss']
})
export class CarouselComponent implements OnInit {
constructor(
+ private renderer2: Renderer2,
private basicDataService: BasicDataService,
- private changeDetectorRef: ChangeDetectorRef
- ) { }
+ private operateSpinServiceService: OperateSpinServiceService,
+ ) {
+ this.operateSpinServiceService.showSpin();
+ }
- public col_lists = [
- { col_code: 'carouselCode', col_chn: '行李转盘代码' },
- { col_code: 'carouselName', col_chn: '行李转盘名称' },
- { col_code: 'terminalAreaName', col_chn: '航站楼区域' },
- { col_code: 'carouselStatus', col_chn: '资源状态' },
+ public render_col_lists = [
+ { COL_CODE: 'carouselCode', COL_CN: '行李转盘代码', COL_WIDTH: "125px" },
+ { COL_CODE: 'carouselName', COL_CN: '行李转盘名称', COL_WIDTH: "125px" },
+ { COL_CODE: 'terminalAreaName', COL_CN: '航站楼区域', COL_WIDTH: "120px" },
+ { COL_CODE: 'carouselStatus', COL_CN: '资源状态', COL_WIDTH: "120px" },
]
// 搜索条件
SEARCH = ''; //手动输入条件
+ LASTSEARCH = '';
FLT_POS = 1; //过滤还是定位
SEL_COL = ''; //选择列名
+ LAST_SEL_COL = '';
//下拉框
public filterItems = {
terminalAreaCode: '',
carouselStatus: '',
}
- terminalAreas: Array
; //所属航站楼区域
- carousels: Array;
- public row_state: any = { renderFlight: {} };
+ public terminalAreas: Array; //所属航站楼区域
+ public carousels: Array;
+
+ public wait_render_data: Array