fix bug
This commit is contained in:
@ -175,7 +175,12 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
fixed: 'right',
|
||||
width: '180px',
|
||||
className: 'text-center',
|
||||
buttons: [{ text: '查看', click: _record => this.View(_record) }]
|
||||
buttons: [
|
||||
{ text: '查看',
|
||||
click: _record => this.View(_record),
|
||||
acl: { ability: ['USERCENTER-FREIGHT-ENTERPRISE-view'] },
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
}
|
||||
@ -204,7 +209,12 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit {
|
||||
fixed: 'right',
|
||||
width: '180px',
|
||||
className: 'text-center',
|
||||
buttons: [{ text: '审核', click: _record => this.ViewAdimin(_record), iif: (item: any) => item.approvalStatus === 10 }]
|
||||
buttons: [
|
||||
{ text: '审核',
|
||||
click: _record => this.ViewAdimin(_record), iif: (item: any) => item.approvalStatus === 10,
|
||||
acl: { ability: ['USERCENTER-FREIGHT-ENTERPRISE-adminAudit'] },
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user