This commit is contained in:
Taric Xin
2021-12-13 20:57:26 +08:00
parent c4b249fe94
commit 5c7a303abc
14 changed files with 800 additions and 1164 deletions

View File

@ -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) }]
}
];
}