diff --git a/src/app/pages/basic-data/chut/chut.component.html b/src/app/pages/basic-data/chut/chut.component.html
index 173f29e..d190554 100644
--- a/src/app/pages/basic-data/chut/chut.component.html
+++ b/src/app/pages/basic-data/chut/chut.component.html
@@ -1,45 +1,53 @@
-
-
-
-
-
-
-
-
- | 序号 |
- 行李传送带代码 |
- 行李传送带名称 |
-
-
-
-
- | {{i+1}} |
- {{chut.chutCode}} |
- {{chut.chutName}} |
-
-
-
-
-
-
+
+
+
+
+
+
+ | 序号 |
+ {{col.COL_CN}} |
+
+
+
+
+
+
+
+
+
+
+ | {{start+i+1}} |
+ {{chut[col.COL_CODE]}} |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/pages/basic-data/chut/chut.component.scss b/src/app/pages/basic-data/chut/chut.component.scss
deleted file mode 100644
index 2804efa..0000000
--- a/src/app/pages/basic-data/chut/chut.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/chut/chut.component.ts b/src/app/pages/basic-data/chut/chut.component.ts
index 9489f5a..9a9c5a3 100644
--- a/src/app/pages/basic-data/chut/chut.component.ts
+++ b/src/app/pages/basic-data/chut/chut.component.ts
@@ -1,23 +1,26 @@
-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-chut',
templateUrl: './chut.component.html',
- styleUrls: ['./chut.component.scss']
+ styleUrls: ['../basic.scss']
})
export class ChutComponent implements OnInit {
constructor(
+ private renderer2: Renderer2,
private basicDataService: BasicDataService,
- private changeDetectorRef: ChangeDetectorRef
- ) { }
+ private operateSpinServiceService: OperateSpinServiceService,
+ ) {
+ this.operateSpinServiceService.showSpin();
+ }
- public col_lists = [
- { col_code: 'chutCode', col_chn: '行李传送带代码' },
- { col_code: 'chutName', col_chn: '行李传送带名称' }
+ public render_col_lists = [
+ { COL_CODE: 'chutCode', COL_CN: '行李传送带代码', COL_WIDTH: "130px" },
+ { COL_CODE: 'chutName', COL_CN: '行李传送带名称', COL_WIDTH: "130px" }
]
// 搜索条件
@@ -25,44 +28,123 @@ export class ChutComponent implements OnInit {
FLT_POS = 1; //过滤还是定位
SEL_COL = ''; //选择列名
- chuts: Array;
- public row_state: any = { renderFlight: {} };
+ public chuts: Array;
+
+ public wait_render_data: Array