config.d.ts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. export interface ProjectSettingState {
  2. //导航模式
  3. navMode: string;
  4. //导航风格
  5. navTheme: string;
  6. //顶部设置
  7. headerSetting: object;
  8. //页脚
  9. showFooter: boolean;
  10. //菜单设置
  11. menuSetting: object;
  12. //多标签
  13. multiTabsSetting: object;
  14. //面包屑
  15. crumbsSetting: object;
  16. //权限模式
  17. permissionMode: string;
  18. }
  19. export interface IbodySetting {
  20. fixed: boolean;
  21. }
  22. export interface IheaderSetting {
  23. bgColor: string;
  24. fixed: boolean;
  25. isReload: boolean;
  26. }
  27. export interface ImenuSetting {
  28. minMenuWidth: number;
  29. menuWidth: number;
  30. fixed: boolean;
  31. mixMenu: boolean;
  32. collapsed: boolean;
  33. uniqueOpened: boolean;
  34. }
  35. export interface IcrumbsSetting {
  36. show: boolean;
  37. showIcon: boolean;
  38. }
  39. export interface ImultiTabsSetting {
  40. bgColor: string;
  41. fixed: boolean;
  42. show: boolean;
  43. }
  44. export type NoticeChannelAppConfig = 'lanxin' | 'platform' | 'wecom';
  45. export interface GlobConfig {
  46. // 标题
  47. title: string;
  48. // api 接口前缀
  49. urlPrefix: string;
  50. // 签到二维码地址
  51. drillSignUrl: string;
  52. // 租户code
  53. tenantCode?: string;
  54. // 天眼外链地址
  55. skyeyeLoginHost: string | undefined;
  56. skyeyePlatformHost: string | undefined;
  57. skyeyeAdminHost: string | undefined;
  58. skyeyeH5Host: string | undefined;
  59. // 天梭外链地址
  60. tiansuoHost: string | undefined;
  61. }
  62. export interface GlobEnvConfig {
  63. // 标题
  64. VITE_GLOB_APP_TITLE: string;
  65. // 接口前缀
  66. VITE_GLOB_API_URL_PREFIX: string;
  67. // 签到二维码地址
  68. VITE_GLOB_DRILL_SIGN_URL: string;
  69. // 租户code
  70. VITE_GLOB_TENANT_CODE: string;
  71. // 天眼外链地址
  72. VITE_GLOB_SKYEYE_LOGIN_URL: string;
  73. VITE_GLOB_SKYEYE_PLATFORM_URL: string;
  74. VITE_GLOB_SKYEYE_ADMIN_URL: string;
  75. VITE_GLOB_SKYEYE_H5_URL: string;
  76. // 天梭外链地址
  77. VITE_GLOB_TIANSUO_PLATFORM: string;
  78. }