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

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

60 lines
2.2 KiB
Plaintext

[Version ( "11.0.0" ),
Description (
"The IPS_WatchDogAction class configures the action of watch dog expiration." )]
class IPS_WatchDogAction : CIM_ManagedElement {
[Key, Override ( "InstanceID" )]
string InstanceID;
[Required, Description (
"The action to invoke upon OS Watch dog expiration."
"'None' stands for no action. 'Reboot' stands for reset of the machine"),
ValueMap { "0", "1", ".." },
Values { "None", "Reboot", "Reserved" }]
uint32 HeciWatchDogExpirationAction;
[Required, Description (
"The action to invoke upon AP Watch dog expiration."
"'None' stands for no action. 'Reboot' stands for reset of the machine"),
ValueMap { "0", "1", ".." },
Values { "None", "Reboot", "Reserved" }]
uint32 AgentPresenceWatchDogExpirationAction;
[Description(
"How long to wait (in seconds) before applying HeciWatchDogExpirationAction"
" or AgentPresenceWatchDogExpirationAction"),
ValueMap { "0..86400", ".." },
Values { "Timeout value", "Reserved" }]
uint32 Timeout;
[Description(
"Allows the manageability to perform reset again")]
boolean ReArmReset;
[Description (
"Apply AgentPresenceWatchDogExpirationAction on instance of AMT_AgentPresenceWatchdog."
"Creates association of CIM_ElementSettingData between IPS_WatchDogAction and "
"the specified instance."),
ValueMap { "0", "1", "2", ".." },
Values { "Completed with No Error", "Not Supported",
"Failed", "Method Reserved"}]
uint32 ApplyActionOnWatchDog(
[Required, IN, Description (
"The instance of the AMT_AgentPresenceWatchdog to apply action on."
)]
AMT_AgentPresenceWatchdog REF AgentPresenceWatchDog,
[Required, IN, Description (
"Determine if action should be applied or not on "
"AMT_AgentPresenceWatchdog instance")]
bool ActionEnable
);
[Description (
"Cancel Reboot operation following WD expiration."),
ValueMap { "0", "1", "2", ".." },
Values { "Completed with No Error", "Not Supported",
"Failed", "Method Reserved"}]
uint32 CancelRebootAction();
};