edit
This commit is contained in:
@ -21,6 +21,7 @@ export class AuthDrawerComponent implements OnInit {
|
||||
|
||||
id = null;
|
||||
appId = '';
|
||||
code = '';
|
||||
|
||||
functionInfo: any = {};
|
||||
functions: any[] = [];
|
||||
@ -52,7 +53,7 @@ export class AuthDrawerComponent implements OnInit {
|
||||
|
||||
functionAction(item?: any, isDisabled = false) {
|
||||
if (item) {
|
||||
this.functionInfo = { ...item, buttonId: item.id, id: item.functionButtonId };
|
||||
this.functionInfo = { ...item, id: item.functionButtonId };
|
||||
} else {
|
||||
this.functionInfo = {};
|
||||
}
|
||||
@ -126,9 +127,9 @@ export class AuthDrawerComponent implements OnInit {
|
||||
|
||||
private initST(): STColumn[] {
|
||||
return [
|
||||
{ title: '权限名称', index: 'name', width: 120 },
|
||||
{ title: '权限编码', index: 'permissionsCode' },
|
||||
{ title: '权限路径', index: 'permissionsUrl' },
|
||||
{ title: '权限名称', index: 'permissionsName', width: 120 },
|
||||
{ title: '权限编码', render: 'permissionsCode' },
|
||||
{ title: '权限路径', index: 'permissionsUrl', className: 'break-word-all', width: 200 },
|
||||
{
|
||||
title: '操作',
|
||||
width: '150px',
|
||||
|
||||
Reference in New Issue
Block a user