feat(device): 添加设备定位信息面板与百度地图集成

- 新增 VITE_BAIDU_MAP_AK 环境变量配置百度地图密钥
- 新增 DeviceLocationInfo 类型定义与 API 调用
- 在设备详情页新增"定位信息"标签页,支持定位概览展示与百度地图可视化
- 支持刷新定位指令下发并拉取最新坐标
- 修复推送 ID 列文本溢出显示省略号
- 优化操作按钮布局,支持换行与统一宽度
- 优化折叠面板卡片样式,增加边框与圆角
This commit is contained in:
TongTongStudio
2026-08-05 23:15:04 +08:00
parent af98e7d88d
commit 899574ba3e
6 changed files with 319 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ const contentConfig: IContentConfig<DeviceQueryParams, DeviceItem> = {
},
{ label: "设备型号", align: "center", prop: "snModel", width: 200 },
{ label: "设备昵称", align: "center", prop: "snName", width: 200 },
{ label: "推送ID", align: "center", prop: "pushId", width: 200 },
{ label: "推送ID", align: "center", prop: "pushId", width: 200, showOverflowTooltip: true },
// { label: "设备 IMEI", align: "center", prop: "snImei", width: 200 },
// { label: "设备版本号", align: "center", prop: "snDispalyId", width: 400 },
// { label: "头像", align: "center", prop: "avatar", templet: "image" },