储能智慧云平台web端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. export type LayoutType = "vertical" | "classic" | "transverse" | "columns";
  2. export type AssemblySizeType = "large" | "default" | "small";
  3. export type LanguageType = "zh" | "en" | null;
  4. /* GlobalState */
  5. export interface GlobalState {
  6. layout: LayoutType;
  7. assemblySize: AssemblySizeType;
  8. language: LanguageType;
  9. maximize: boolean;
  10. primary: string;
  11. isDark: boolean;
  12. isGrey: boolean;
  13. isWeak: boolean;
  14. asideInverted: boolean;
  15. headerInverted: boolean;
  16. isCollapse: boolean;
  17. accordion: boolean;
  18. breadcrumb: boolean;
  19. breadcrumbIcon: boolean;
  20. tabs: boolean;
  21. tabsIcon: boolean;
  22. footer: boolean;
  23. }
  24. /* UserState */
  25. export interface UserState {
  26. token: string;
  27. userInfo: { name: string };
  28. avatar: string;
  29. }
  30. /* tabsMenuProps */
  31. export interface TabsMenuProps {
  32. icon: string;
  33. title: string;
  34. path: string;
  35. name: string;
  36. close: boolean;
  37. isKeepAlive: boolean;
  38. }
  39. /* TabsState */
  40. export interface TabsState {
  41. tabsMenuList: TabsMenuProps[];
  42. }
  43. /* AuthState */
  44. export interface AuthState {
  45. routeName: string;
  46. authButtonList: {
  47. [key: string]: string[];
  48. };
  49. authMenuList: Menu.MenuOptions[];
  50. }
  51. /* KeepAliveState */
  52. export interface KeepAliveState {
  53. keepAliveName: string[];
  54. }
  55. export interface Stateuser {
  56. username: string;
  57. password: string;
  58. tenantNo: string;
  59. }