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

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

52 lines
2.6 KiB
Plaintext

// Copyright (c) 2005 DMTF. All rights reserved.
// <change cr="SysDevCR00711.001" type ="change">Update of
// descriptions based on Tech Edit review.</change>
// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath
// qualifier values to CIM Schema.</change>
// ==================================================================
// CIM_AdminDomain
// ==================================================================
[Version ( "2.10.0" ),
UMLPackagePath ( "CIM::Core::CoreElements" ),
Description (
"This is a special grouping of ManagedSystemElements. The "
"grouping is viewed as a single entity, reflecting that all of "
"its components are administered similarly, either by the same "
"user, group of users, or policy. It serves as an aggregation "
"point to associate one or more of the following elements: "
"network devices, such as routers and switches, servers, and "
"other resources that can be accessed by end systems. This "
"grouping of devices plays an essential role in ensuring that "
"the same administrative policy and actions are applied to all "
"of the devices in the grouping. The specific behavior and/or "
"semantics of the AdminDomain can be identified through its "
"aggregated and associated entities." )]
class CIM_AdminDomain : CIM_System {
[Override ( "NameFormat" ),
Description (
"The NameFormat property identifies how the Name of the "
"AdminDomain is generated, using the heuristic specified "
"in the CIM V2 System Model specification. The property "
"assumes that to determine and assign a Name the "
"documented rules are traversed in order. The NameFormat "
"Values list defines the precedence order for assigning "
"the Name of the AdminDomain. \n"
"\n"
"\"FC\" has been deprecated and replaced by \"WWN\" to be "
"consistent with the other ValueMaps." ),
ValueMap { "Other", "AS", "NAP", "NOC", "POP", "RNP", "IP",
"IPX", "SNA", "Dial", "WAN", "LAN", "ISDN", "Frame Relay",
"ATM", "E.164", "IB", "FC", "Policy Repository", "WWN" },
Values { "Other", "Autonomous System",
"Network Access Provider", "Network Operations Center",
"Point of Presence", "Regional Network Provider", "IP",
"IPX", "SNA", "Dial", "WAN", "LAN", "ISDN", "Frame Relay",
"ATM", "E.164", "Infiniband", "Fibre Channel",
"Policy Repository", "Fibre Channel Worldwide Name" },
ModelCorrespondence { "CIM_AdminDomain.Name" }]
string NameFormat;
};