添加移动端API和组件,包含文件上传、用户认证、主题设置等功能模块,同时更新相关依赖和配置,提升代码结构和可维护性。

This commit is contained in:
zyh
2025-04-10 03:34:55 +00:00
parent 0169ace61c
commit b3d024a50b
11 changed files with 2852 additions and 23 deletions

View File

@@ -2,20 +2,11 @@ import axios from 'axios';
import type { MinioUploadPolicy, OSSUploadPolicy } from '@d8d-appcontainer/types';
import 'dayjs/locale/zh-cn';
import type {
User, ZichanInfo, ZichanTransLog, DeviceInstance, DeviceType,
AlertHandleLog, AlertNotifyConfig, DeviceAlert, DeviceAlertRule,
DeviceMonitorData, FileLibrary, FileCategory, ZichanCategory, ZichanArea, RackServerType,
RackInfo, RackServer, KnowInfo, WorkOrder, WorkOrderTemplate, WorkOrderLog,
User, FileLibrary, FileCategory, KnowInfo,
AuthContextType, ThemeContextType, Attachment, ThemeSettings,
CategoryChartData, OnlineRateChartData, StateChartData, StateChartDataWithPercent,
AlarmChartData, CategoryChartDataWithPercent, MapViewDevice, DeviceMapFilter, DeviceMapStats,
DeviceMapDataResponse, DeviceMapStatsResponse, DeviceTreeNode, DeviceTreeStats,
LoginLocation, LoginLocationDetail, SystemSetting, SystemSettingGroupData
SystemSetting, SystemSettingGroupData
} from '../share/types.ts';
import {
DeviceCategory, DeviceStatus, AssetTransferType,
} from '../share/types.ts';
// 定义API基础URL