季度计划补充不完整字段及计划机位、飞机号变更显示修改
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user