|
|
@ -191,6 +191,7 @@ export class AuditRecordComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
details(item) { |
|
|
|
details(item) { |
|
|
|
|
|
|
|
let or = item |
|
|
|
let component |
|
|
|
let component |
|
|
|
if (item.auditType == 0) { |
|
|
|
if (item.auditType == 0) { |
|
|
|
component = GasBaseInfoComponent |
|
|
|
component = GasBaseInfoComponent |
|
|
@ -203,6 +204,9 @@ export class AuditRecordComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
this.getData(item).then(res => { |
|
|
|
this.getData(item).then(res => { |
|
|
|
item.getData = res |
|
|
|
item.getData = res |
|
|
|
|
|
|
|
if (item.auditType == 1) { |
|
|
|
|
|
|
|
item.getData.organization = item.organization |
|
|
|
|
|
|
|
} |
|
|
|
const modal = this.modal.create({ |
|
|
|
const modal = this.modal.create({ |
|
|
|
nzContent: component, |
|
|
|
nzContent: component, |
|
|
|
nzViewContainerRef: this.viewContainerRef, |
|
|
|
nzViewContainerRef: this.viewContainerRef, |
|
|
|