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

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

75 lines
3.3 KiB
Plaintext

// Copyright (c) 2008 DMTF. All rights reserved.
[Version ( "2.20.0" ),
UMLPackagePath ( "CIM::Event" ),
Description (
"An IndicationService is a Service of the CIM Object Manager "
"that is responsible for delivering indications to Indication "
"Handlers." )]
class CIM_IndicationService : CIM_Service {
[Description (
"The FilterCreationEnabled property controls whether or "
"not clients can create indication filters. If this value "
"is set to false, only the indication filters that exist "
"can be subscribed to. If this value is true clients may "
"attempt to create filters. Note that implementations may "
"preset this setting and not allow this value to be "
"modified." )]
boolean FilterCreationEnabled = false;
[Description (
"Defines the number of retries that the indication "
"service will try to deliver an indication to a "
"particular listener destination. This does not effect "
"the original delivery attempt, thus if set to 0, it will "
"only try to deliver the indication once. Note that "
"implementations may preset this setting and not allow "
"this value to be modified." ),
MinValue ( 0 ),
ModelCorrespondence {
"CIM_IndicationService.DeliveryRetryInterval" }]
uint16 DeliveryRetryAttempts = 3;
[Description (
"Defines the minimal time interval in seconds for the "
"indication service to use before delivering an "
"indication to a particular listener destination that "
"previously failed. The implementation may take longer "
"due to QoS or other processing. Note that "
"implementations may preset this setting and not allow "
"this value to be modified." ),
ModelCorrespondence {
"CIM_IndicationService.DeliveryRetryAttempts" },
PUnit ( "Seconds" )]
uint32 DeliveryRetryInterval = 30;
[Description (
"Defines the removal action for subscriptions that have "
"two failed indication deliveries without any successful "
"indication deliveries in between and the time between "
"the failed deliveries exceeded the timeout defined in "
"the SubscriptionRemovalTimeInterval property. \"Remove\" "
"defines the subscription is to be removed.\n"
"\"Disable\" indicates that subscription removal process "
"isnot being enforced. \n"
"\"Ignore\" indicates that the removal action is "
"temporarily not enforced. implementations may preset "
"this setting and not allow this value to be modified." ),
ValueMap { "2", "3", "4", ".." },
Values { "Remove", "Disable", "Ignore", "DMTF Reserved" },
ModelCorrespondence {
"CIM_IndicationService.SubscriptionRemovalTimeInterval" }]
uint16 SubscriptionRemovalAction;
[Description (
"Minimum time between two failed indication deliveries "
"without any successful indication deliveries in between "
"before the SubscriptionRemovalPolicy goes into effect." ),
ModelCorrespondence {
"CIM_IndicationService.SubscriptionRemovalAction" },
PUnit ( "Seconds" )]
uint32 SubscriptionRemovalTimeInterval;
};