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

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

50 lines
2.3 KiB
Plaintext

// Copyright (c) 2005 DMTF. All rights reserved.
// <change cr="SysDevCR00722.000" type ="change">Update of
// descriptions based on Tech Edit review.</
// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
// qualifier values to CIM Schema.</change>
// ==================================================================
// CIM_ProvidesServiceToElement
// ==================================================================
[Association, Deprecated { "CIM_ServiceAvailableToElement" },
Version ( "2.10.0" ),
UMLPackagePath ( "CIM::Core::Service" ),
Description (
"Note: The use of the CIM_ProvidesServiceToElement class has "
"been deprecated. Instead, ServiceAvailableToElement conveys "
"the semantics of use, while the subclasses of "
"ProvidesServiceToElement (or the ConcreteDependency "
"association) describe dependency relationships. "
"CIM_ProvidesServiceToElement was meant to generalize the "
"ServiceServiceDependency association. This method indicates "
"that ManagedElements can use the functionality provided by one "
"or more Services. An example of the association is that a "
"Processor and an enclosure (a PhysicalElement) can use "
"AlertOnLAN Services to signal an incomplete or erroneous boot. "
"In reality, AlertOnLAN is simply a HostedService on a computer "
"system that is generally available for use and is not a "
"dependency of the processor or enclosure. To describe that the "
"use of the service might be restricted or have limited "
"availability or applicability, the "
"CIM_ServiceAvailableToElement association would be "
"instantiated." )]
class CIM_ProvidesServiceToElement : CIM_Dependency {
[Deprecated { "CIM_ServiceAvailableToElement.ServiceProvided" },
Override ( "Antecedent" ),
Description (
"Note: The use of this element is deprecated. Deprecated "
"description: The Service provided." )]
CIM_Service REF Antecedent;
[Deprecated { "CIM_ServiceAvailableToElement.UserOfService" },
Override ( "Dependent" ),
Description (
"Note: The use of this element is deprecated. Deprecated "
"description: The ManagedElement that is dependent on the "
"Service." )]
CIM_ManagedElement REF Dependent;
};