This commit is contained in:
Taric Xin
2021-12-16 17:00:33 +08:00
parent 05f3480d80
commit 2e659b1d3c
9 changed files with 417 additions and 202 deletions

View File

@ -120,9 +120,7 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
}
View(record: any) {
this.router.navigate(['./view', record.id], {
relativeTo: this.ar
});
this.router.navigate([`/usercenter/freight/enterprise/detail/${record.id}`]);
}
// 切换Tab
@ -137,7 +135,6 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
private adminAuditUser(params: any, modal: any) {
this.service.request(this.service.$api_audit_enterprise_admin, params, 'POST', false).subscribe(res => {
console.log(res);
if (res) {
this.service.msgSrv.success('审核成功');
modal.destroy();