This commit is contained in:
wangshiming
2022-02-11 15:35:33 +08:00
parent bbd47bd2b7
commit fc661bd697
21 changed files with 581 additions and 670 deletions

View File

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