export interface ProjectSettingState { //导航模式 navMode: string; //导航风格 navTheme: string; //顶部设置 headerSetting: object; //页脚 showFooter: boolean; //菜单设置 menuSetting: object; //多标签 multiTabsSetting: object; //面包屑 crumbsSetting: object; //权限模式 permissionMode: string; } export interface IbodySetting { fixed: boolean; } export interface IheaderSetting { bgColor: string; fixed: boolean; isReload: boolean; } export interface ImenuSetting { minMenuWidth: number; menuWidth: number; fixed: boolean; mixMenu: boolean; collapsed: boolean; uniqueOpened: boolean; } export interface IcrumbsSetting { show: boolean; showIcon: boolean; } export interface ImultiTabsSetting { bgColor: string; fixed: boolean; show: boolean; } export type NoticeChannelAppConfig = 'lanxin' | 'platform' | 'wecom'; export interface GlobConfig { title: string; apiUrl: string; shortName: string; urlPrefix: string; uploadUrl?: string; prodMock: boolean; imgUrl?: string; appDownloadUrl?: string; loginApp?: string; appPCUrl?: string; questionListVersion: string; disableDepartmentEdit?: boolean; hideReportMessageTabs?: boolean; noticeChannel: NoticeChannelAppConfig[]; } export interface GlobEnvConfig { // 标题 VITE_GLOB_APP_TITLE: string; // 接口地址 VITE_GLOB_API_URL: string; // 接口前缀 VITE_GLOB_API_URL_PREFIX?: string; // 项目简称 VITE_GLOB_APP_SHORT_NAME: string; // 图片上传地址 VITE_GLOB_UPLOAD_URL?: string; //图片前缀地址 VITE_GLOB_IMG_URL?: string; //生产环境开启mock VITE_GLOB_PROD_MOCK: boolean; /** 下载app的url */ VITE_GLOB_APP_DOWNLOAD_QRCODE: string; /** 登录地址 */ VITE_GLOB_LOGIN_APP: string; /** 地球模块登录地址 */ VITE_GLOB_SKYEYE_WORLD: string; /** PC模块登录地址 */ VITE_GLOB_APP_PC: string; VITE_GLOB_TENANT_CODE: string; VITE_GLOB_QUESTION_LIST_VERSION: string; VITE_GLOB_DISABLE_DEPARTMENT_EDIT: boolean; // 是否隐藏掉平台违规报警 平台访问统计和人员访问数据的tab, 默认不隐藏 VITE_GLOB_HIDE_REPORT_MESSAGE_TABS: boolean; // 消息管理可选择的推送渠道 VITE_GLOB_NOTICE_CHANNEL: NoticeChannelAppConfig[]; } export interface GlobConfig { // 标题 title: string; // 接口地址 apiUrl: string; // 图片上传地址 uploadUrl?: string; // api 接口前缀 urlPrefix: string; // 项目简称 shortName: string; // 生产环境开启 mock prodMock: boolean; // 图片访问地址 imgUrl: string | undefined; tenantCode: string; }