import { ErrorTypeEnum } from '@/enums/exceptionEnum'; import { MenuModeEnum, MenuTypeEnum } from '@/enums/menuEnum'; // Lock screen information export interface LockInfo { // Is it locked? isLock?: boolean; } // Error-log information export interface ErrorLogInfo { // Type of error type: ErrorTypeEnum; // Error file file: string; // Error name name?: string; // Error message message: string; // Error stack stack?: string; // Error detail detail: string; // Error url url: string; // Error time time?: string; } export interface PermissionChildItem { id: string; enCode: string; fullName: string; } export interface PermissionInfo { modelId: string; moduleName: string; button: PermissionChildItem[]; column: PermissionChildItem[]; form: PermissionChildItem[]; resource: PermissionChildItem[]; } export interface SysConfigInfo { appIcon: Nullable; companyName: Nullable; copyright: Nullable; loginIcon: Nullable; logoIcon: Nullable; navigationIcon: Nullable; workLogoIcon: Nullable; newUserDefaultPassword: Nullable; sysName: Nullable; sysVersion: Nullable; title: Nullable; jnpfDomain: Nullable; defaultView: Nullable; showLunarCalendar: Nullable; firstDay: number; duration: number; flowSign: number; flowTodo: number; delegateScope: number; delegateAck: number; proxyScope: number; proxyAck: number; } export interface SystemInfo { id: string; name: Nullable; icon: Nullable; currentSystem: boolean; } export interface UserInfo { birthday: Nullable; departmentId: Nullable; departmentName: Nullable; email: Nullable; headIcon: Nullable; isAdministrator: boolean; manager: Nullable; mobilePhone: Nullable; organizeId: Nullable; organizeIdList: Nullable; organizeName: Nullable; portalId: Nullable; positionId: Nullable; positionName: string; positionIds: any[]; prevLogin: number; prevLoginIPAddress: Nullable; prevLoginIPAddressName: Nullable; prevLoginTime: Nullable; roleName: Nullable; roleIds: string[]; groupIds: string[]; systemId: string; systemIds: SystemInfo[]; userAccount: string; userId: string; userName: Nullable; signImg: string; signId: string; standingList: any[]; } export interface BeforeMiniState { menuCollapsed?: boolean; menuSplit?: boolean; menuMode?: MenuModeEnum; menuType?: MenuTypeEnum; }