edit
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user