季度计划补充不完整字段及计划机位、飞机号变更显示修改

This commit is contained in:
zhouyuejun
2019-01-14 11:01:29 +08:00
parent 1852eb7b04
commit 91e24db0d6
10 changed files with 427 additions and 138 deletions
+2 -2
View File
@@ -126,7 +126,6 @@ export class MainComponent implements OnInit {
ngOnInit() {
console.log(Object.prototype.toString.call({}));
this.renderer2.setStyle(this.tableContainer.nativeElement, 'height', this.pageContent.nativeElement.offsetHeight - this.searchFilter.nativeElement.offsetHeight - 35 + 'px');
this.renderer2.setStyle(this.tableBody.nativeElement, 'height', this.tableContainer.nativeElement.offsetHeight - this.tableHead.nativeElement.offsetHeight + 'px');
if (!this.tabClose) {
@@ -472,7 +471,7 @@ export class MainComponent implements OnInit {
/**
* 创建线程并执行
*/
public promise: Worker = new Worker('/adminweb/assets/web-worker-handle.js');
public promise: Worker = new Worker('/assets/web-worker-handle.js');
creatWorkers() {
let dynamicData = {
raw_data: this.raw_data,
@@ -485,6 +484,7 @@ export class MainComponent implements OnInit {
}
this.promise.postMessage(dynamicData);
this.promise.onmessage = function (e) {
console.log('=====')
this.combined_data = e.data;
this.selectChange('dynamic');
// this.promise.terminate();