按照标准框架修改角色界面

This commit is contained in:
GYYM
2024-10-17 16:34:13 +08:00
parent 062a8f259f
commit c5359b1ce7
5 changed files with 194 additions and 126 deletions

View File

@@ -4,9 +4,9 @@ import type { ReqPage } from '@/api/interface'
export namespace Role {
export interface Permission{
id: string; //权限名称
name: string; //权限ID
havePermission:boolean; //是否拥有该权限
key: string; //权限名称
label: string; //权限ID
disabled:boolean; //是否拥有该权限
}
// 角色列表
@@ -39,9 +39,9 @@ export namespace Role {
//角色权限列表
export interface ResPermissionList {
id: string;
name: string;
permissionList?: Permission[];
key: string;
label: string;
disable?: Permission[];
}
// export interface ResRole {