Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
wangshiming
2022-02-10 13:37:32 +08:00
7 changed files with 30 additions and 86 deletions

View File

@ -42,11 +42,13 @@ export class RoleManagementComponent implements OnInit {
buttons: [
{
text: '编辑',
click: item => this.roleAction(item)
click: item => this.roleAction(item),
iif: item => item.roleName !== '超级管理员'
},
{
text: '删除',
click: item => this.deleteAction(item)
click: item => this.deleteAction(item),
iif: item => item.roleName !== '超级管理员'
}
]
}

View File

@ -197,7 +197,7 @@ export class FreightComponentsListComponent implements OnInit {
className: 'text-center',
buttons: [
{
text: '查看',
text: '查看<br/>',
click: item => {
this.router.navigate(['./detail', item.id], { relativeTo: this.ar });
// this.router.navigate(['./view', item.id], { relativeTo: this.ar, queryParams: { tenantId: item.tenantId } });