This commit is contained in:
Taric Xin
2022-01-21 17:00:05 +08:00
parent 12f0c31d62
commit 06043e703a
6 changed files with 28 additions and 13 deletions

View File

@ -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',