lvfengfree b92e1119ae fix: 修复菜单为空问题 - 移除后端过滤home路由的错误逻辑
- 修复RouteService中错误过滤home路由的问题
- 后端现在正确返回所有用户有权限的路由
- 添加设备管理相关功能(列表、在线监控、电源管理、远程监控)
- 添加详细的修复文档和重启脚本
- 更新权限配置脚本

问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单
解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
2026-03-01 09:50:19 +08:00

77 lines
2.9 KiB
Plaintext

// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
[Version ( "3.0.0" ),
Deprecated{"AMT_MessageLog"},
Description (
"The LogRecord object can describe the definitional format for "
"entries in a MessageLog, or can be used to instantiate the "
"actual records in the Log. The latter approach provides a "
"great deal more semantic definition and management control "
"over the individual entries in a MessageLog, than do the "
"record manipulation methods of the Log class. It is "
"recommended that the data in individual Log entries be modeled "
"using subclasses of LogRecord, to avoid the creation of "
"LogRecords with one property (such as RecordData) without "
"semantics. Definitional formats for LogRecords could be "
"specified by establishing a naming convention for the RecordID "
"and Message Timestamp key properties." )]
class AMT_EventLogEntry : CIM_LogEntry {
[Description (
"The SMBus address of the physical sensor device that "
"implements the logical sensor." )]
uint8 DeviceAddress;
[Description (
"The value to be set into the alert\'s Event Sensor Type "
"field (see [PET] for definitions.)" )]
uint8 EventSensorType;
[Description (
"The value to be set into the alert\'s Event Type field "
"(see [PET] for definitions.)" )]
uint8 EventType;
[Description (
"The value to be set into the alert\'s Event Offset field "
"(see [PET] for definitions.)" )]
uint8 EventOffset;
[Description (
"The value to be set into the alert\'s Event Source Type "
"field (see [PET] for definitions.)" )]
uint8 EventSourceType;
[Description (
"This field can be used to fill in the Event Severity "
"field in a PET alert. The severity values are based on "
"the \'DMI\' severity values used for the generic sensor "
"event/reading type code." ),
ValueMap { "0", "1", "2", "4", "8", "16", "32" },
Values { "unspecified", "Monitor", "Information", "OK",
"Non-critical condition", "Critical condition",
"Non-recoverable condition" }]
uint8 EventSeverity;
[Description (
"The value to be set into the alert\'s Sensor Number "
"field (see [PET] for definitions.)" )]
uint8 SensorNumber;
[Description (
"The value to be set into the alert\'s Entity field (see "
"[PET] for definitions.)" )]
uint8 Entity;
[Description (
"The value to be set into the alert\'s Entity Instance "
"field (see [PET] for definitions.)" )]
uint8 EntityInstance;
[Description (
"Describes optional event data sent in the PET packet. "
"The values are defined in the ASF specification [ASF]." )]
uint8 EventData[8];
};