123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- export type LayoutType = "vertical" | "classic" | "transverse" | "columns";
- export type AssemblySizeType = "large" | "default" | "small";
- export type LanguageType = "zh" | "en" | null;
- /* GlobalState */
- export interface GlobalState {
- layout: LayoutType;
- assemblySize: AssemblySizeType;
- language: LanguageType;
- maximize: boolean;
- primary: string;
- isDark: boolean;
- isGrey: boolean;
- isWeak: boolean;
- asideInverted: boolean;
- headerInverted: boolean;
- isCollapse: boolean;
- accordion: boolean;
- watermark: boolean;
- breadcrumb: boolean;
- breadcrumbIcon: boolean;
- tabs: boolean;
- tabsIcon: boolean;
- footer: boolean;
- }
- /* UserState */
- export interface UserState {
- token: string;
- userInfo: user;
- asInfo:Array <asInfos>,
- stations: Array<any>
- }
- export interface user {
- name?: string,
- user_account?:string,
- user_id?:string,
- role_id?:string,
- user_job?:string,
- user_password?:string,
- user_name?:string,
- user_phone?:string,
- user_unit?:string,
- role_name?:string,
- role_permissions?:string
- }
- export interface asInfos {
- user_id:string,
- as_code:string,
- as_name:string
- }
- /* tabsMenuProps */
- export interface TabsMenuProps {
- icon: string;
- title: string;
- path: string;
- name: string;
- close: boolean;
- isKeepAlive: boolean;
- }
- /* TabsState */
- export interface TabsState {
- tabsMenuList: TabsMenuProps[];
- }
- /* AuthState */
- export interface AuthState {
- routeName: string;
- authButtonList: {
- [key: string]: string[];
- };
- authMenuList: Menu.MenuOptions[];
- }
- /* KeepAliveState */
- export interface KeepAliveState {
- keepAliveName: string[];
- }
|