陈鹏飞 3 years ago
parent
commit
687f5231d0
  1. 24
      src/app/pages/audit/audit-ing/audit-ing.component.ts
  2. 4
      src/app/pages/audit/gas-base-info/gas-base-info.component.html
  3. 8
      src/app/pages/audit/gas-base-info/gas-base-info.component.ts

24
src/app/pages/audit/audit-ing/audit-ing.component.ts

@ -123,7 +123,8 @@ export class AuditIngComponent implements OnInit {
} else if (item.auditType) {
component = DetailsFileCategoryComponent
}
if (item.getData) {
this.getData(item).then(res=>{
item.getData = res
const modal = this.modal.create({
nzContent: component,
nzViewContainerRef: this.viewContainerRef,
@ -144,29 +145,8 @@ export class AuditIngComponent implements OnInit {
nzFooter: null,
nzClosable: false,
});
} else {
this.getData(item).then(res=>{
item.getData = res
const modal = this.modal.create({
nzContent: component,
nzViewContainerRef: this.viewContainerRef,
nzWidth: 450,
nzBodyStyle: {
'border': '1px solid #91CCFF',
'border-radius': '0px',
'padding': '7px',
'box-shadow': '0 0 8px 0 #fff',
'background-image': 'linear-gradient(#003665, #000f25)'
},
nzComponentParams: {
data: item.getData
},
nzFooter: null,
nzClosable: false,
});
})
}
}
//获取证照类data
getData(item) {

4
src/app/pages/audit/gas-base-info/gas-base-info.component.html

@ -75,7 +75,7 @@
<div class="cutoffrule"></div>
</div>
<p class="recordP" *ngIf="isDetails">
<!-- <p class="recordP" *ngIf="isDetails">
<span>审核记录</span>
<span>
<span style="margin-right: 6px;">
@ -96,5 +96,5 @@
<span *ngIf="item.auditStatus == 4">已撤销审核</span>
<span *ngIf="item.auditStatus == 5">审核完成</span>
</nz-timeline-item>
</nz-timeline>
</nz-timeline> -->
</div>

8
src/app/pages/audit/gas-base-info/gas-base-info.component.ts

@ -15,10 +15,10 @@ export class GasBaseInfoComponent implements OnInit {
isDetails: boolean = false; //是否是详情
ngOnInit(): void {
// if (this.data.id === undefined) { //详情
// this.isDetails = true
// this.getAuditLogging()
// }
if (this.data.id === undefined) { //详情
this.isDetails = true
//this.getAuditLogging()
}
this.getBaseInfo()
}

Loading…
Cancel
Save