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

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

58 lines
2.0 KiB
Plaintext

// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
[Version ( "10.0.0" ),
Description (
"Configures the screen blanking settings in the Intel(R) AMT subsystem."
)]
class IPS_ScreenConfigurationService : CIM_Service {
[Description (
"AMT will start a screen blanking session and require the GFX to "
"blank all the screens connected to the iGFX simultaneously." ),
ValueMap { "0", "1", "2.." },
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR", "Reserved" }]
uint32 SetSessionState(
[In, Description (
"Open if required to open session blanking session, "
"Otherwise, (close session) the parameter is Close." ),
ValueMap { "0", "1", "2.."},
Values { "Close", "Open", "Reserved"}]
uint8 SessionState,
[In, Description (
"If SessionState is Open, reflects number of reboots session should survive."),
ValueMap { "0..3", "4.." },
Values { "Number of screen blanking reboots", "Reserved" } ]
uint8 ConsecutiveRebootsNum
)
;
[Description (
"Indicates if currently screen blanking session is open."
" This property is read only." ),
ValueMap { "0", "1", "2.."},
Values { "Close", "Open", "Reserved"}]
uint16 CurrentState;
[Description (
"Indicates if currently screen blanking is enabled, "
"i.e. screen blanking session can be opened." )]
uint16 EnabledState;
[Description (
"number of remaining conscutive reboots that will end the screen blanking session. "
"If the value is 0 AMT will not blank the screen after a reboot."
"Only a warm reset should be counted as a reboot. Global reset or a power "
"cycle reset will not survive the screen blanking session."
"This property is read only."),
ValueMap { "0..3", "4.." },
Values { "Number of screen blanking reboots", "Reserved" }]
uint16 RemainingConsecutiveRebootsNum;
};