feat(设备状态): 添加空闲状态并更新UI样式

- 在设备状态映射中添加空闲状态及其颜色配置
- 移除盘点按钮的图标以简化界面
- 更新设备详情模态框的背景渐变颜色
This commit is contained in:
zhang1106
2026-03-25 09:16:57 +08:00
parent 4e8d9be864
commit 6ebcb3f870
3 changed files with 3 additions and 6 deletions
+1
View File
@@ -12,6 +12,7 @@ export const STATUS_MAP = {
maintenance: { text: '维护中', color: '#faad14', badgeColor: 'orange' },
offline: { text: '离线', color: '#8c8c8c', badgeColor: 'default' },
fault: { text: '故障', color: '#ff4d4f', badgeColor: 'red' },
idle: { text: '空闲', color: '#36cfc9', badgeColor: 'cyan' },
};
export const TYPE_MAP = {