config.d.ts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. skyeyeUrl:string;
  53. tiansuoUrl:string;
  54. }
  55. export interface GlobEnvConfig {
  56. // 标题
  57. VITE_GLOB_APP_TITLE: string;
  58. // 接口前缀
  59. VITE_GLOB_API_URL_PREFIX: string;
  60. // 签到二维码地址
  61. VITE_GLOB_DRILL_SIGN_URL: string;
  62. VITE_GLOB_SKYEYE_PLATFORM:string;
  63. VITE_GLOB_TIANSUO_PLATFORM:string;
  64. }
  65. // export interface GlobConfig {
  66. // title: string;
  67. // apiUrl: string;
  68. // shortName: string;
  69. // urlPrefix: string;
  70. // uploadUrl?: string;
  71. // prodMock: boolean;
  72. // imgUrl?: string;
  73. // appDownloadUrl?: string;
  74. // loginApp?: string;
  75. // appPCUrl?: string;
  76. // questionListVersion: string;
  77. // disableDepartmentEdit?: boolean;
  78. // hideReportMessageTabs?: boolean;
  79. // noticeChannel: NoticeChannelAppConfig[];
  80. // }
  81. // export interface GlobEnvConfig {
  82. // // 标题
  83. // VITE_GLOB_APP_TITLE: string;
  84. // // 接口地址
  85. // VITE_GLOB_API_URL: string;
  86. // // 接口前缀
  87. // VITE_GLOB_API_URL_PREFIX?: string;
  88. // // 项目简称
  89. // VITE_GLOB_APP_SHORT_NAME: string;
  90. // // 图片上传地址
  91. // VITE_GLOB_UPLOAD_URL?: string;
  92. // //图片前缀地址
  93. // VITE_GLOB_IMG_URL?: string;
  94. // //生产环境开启mock
  95. // VITE_GLOB_PROD_MOCK: boolean;
  96. // /** 下载app的url */
  97. // VITE_GLOB_APP_DOWNLOAD_QRCODE: string;
  98. // /** 登录地址 */
  99. // VITE_GLOB_LOGIN_APP: string;
  100. // /** 地球模块登录地址 */
  101. // VITE_GLOB_SKYEYE_WORLD: string;
  102. // /** PC模块登录地址 */
  103. // VITE_GLOB_APP_PC: string;
  104. // VITE_GLOB_TENANT_CODE: string;
  105. // VITE_GLOB_QUESTION_LIST_VERSION: string;
  106. // VITE_GLOB_DISABLE_DEPARTMENT_EDIT: boolean;
  107. // // 是否隐藏掉平台违规报警 平台访问统计和人员访问数据的tab, 默认不隐藏
  108. // VITE_GLOB_HIDE_REPORT_MESSAGE_TABS: boolean;
  109. // // 消息管理可选择的推送渠道
  110. // VITE_GLOB_NOTICE_CHANNEL: NoticeChannelAppConfig[];
  111. // }
  112. // export interface GlobConfig {
  113. // // 标题
  114. // title: string;
  115. // // 接口地址
  116. // apiUrl: string;
  117. // // 图片上传地址
  118. // uploadUrl?: string;
  119. // // api 接口前缀
  120. // urlPrefix: string;
  121. // // 项目简称
  122. // shortName: string;
  123. // // 生产环境开启 mock
  124. // prodMock: boolean;
  125. // // 图片访问地址
  126. // imgUrl: string | undefined;
  127. // tenantCode: string;
  128. // minifyImgUrl?: string;
  129. // }