export type RoleTableType = {
  createTime: string;
  creatorId?: any;
  creatorName: string;
  id: number;
  isEnabled: number;
  pcsAttr?: any;
  pcsPerm?: any;
  roleDesc: string;
  roleKey: string;
  roleName: string;
  sort: string;
  updateTime: string;

  dataScope: 1 | 2 | 3;
  scopeDept: string;
};

export type AddRoleType = {
  id: number | null;
  roleName: string;
  roleDesc: string;
};

export type A4RolleAllType = {
  authority: boolean;
  description: string;
  children?: A4RolleAllType[];
  id: string;
  name: string;
  parentId?: any;
  resourceType: string;
};

export type A4getRoleFileType ={
	hasPerm: boolean;
	id: number;
	name: string;
}