edit
This commit is contained in:
@ -75,7 +75,7 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
/**
|
||||
* 查看详情
|
||||
*/
|
||||
View(record: any) {
|
||||
ViewAdimin(record: any) {
|
||||
const modal = this.modal.create({
|
||||
nzContent: AuditAdminComponent,
|
||||
nzComponentParams: { i: { ...record } },
|
||||
@ -119,6 +119,12 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
View(record: any) {
|
||||
this.router.navigate(['./view', record.id], {
|
||||
relativeTo: this.ar
|
||||
});
|
||||
}
|
||||
|
||||
// 切换Tab
|
||||
changeTab(item: any) {
|
||||
this.tabType = item.type;
|
||||
@ -201,7 +207,7 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
fixed: 'right',
|
||||
width: '180px',
|
||||
className: 'text-center',
|
||||
buttons: [{ text: '审核', click: _record => this.View(_record) }]
|
||||
buttons: [{ text: '审核', click: _record => this.ViewAdimin(_record) }]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user