- 修复RouteService中错误过滤home路由的问题 - 后端现在正确返回所有用户有权限的路由 - 添加设备管理相关功能(列表、在线监控、电源管理、远程监控) - 添加详细的修复文档和重启脚本 - 更新权限配置脚本 问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单 解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
47 lines
2.1 KiB
Plaintext
47 lines
2.1 KiB
Plaintext
// Copyright (c) 2008 DMTF. All rights reserved.
|
|
[Association, Aggregation, Version ( "2.19.1" ),
|
|
UMLPackagePath ( "CIM::Core::CoreElements" ),
|
|
Description (
|
|
"CIM_OrderedComponent is a generic association used to "
|
|
"establish \'part of\' relationships between ManagedElements. "
|
|
"It arranges the PartComponents in a specific assigned order. "
|
|
"The semantics of the order depends on the context and use by "
|
|
"the referencing classes. For example, if this association is "
|
|
"used to arrange settings in a hierarchical order, then this "
|
|
"specifies the sequence in which the settings are applied." )]
|
|
class CIM_OrderedComponent : CIM_Component {
|
|
|
|
[Description (
|
|
"AssignedSequence is an unsigned integer \'n\' that "
|
|
"indicates the relative order of ManagedElement "
|
|
"instances. When \'n\' is a positive integer, it "
|
|
"indicates a place in the sequence of members, with "
|
|
"smaller integers indicating earlier positions in the "
|
|
"sequence. The special value \'0\' indicates \'don\'t "
|
|
"care\'. If two or more members have the same non-zero "
|
|
"sequence number, then the ordering between those members "
|
|
"is irrelevant, but they must all be ordered at the "
|
|
"appropriate place in the overall sequence. \n"
|
|
"\n"
|
|
"A series of examples will make ordering of members "
|
|
"clearer: \n"
|
|
"If all members have the same sequence number, \n"
|
|
"regardless of whether it is \'0\' or non-zero, any \n"
|
|
"order is acceptable. \n"
|
|
"o The values: \n"
|
|
"1:MEMBER A \n"
|
|
"2:MEMBER B \n"
|
|
"1:MEMBER C \n"
|
|
"3:MEMBER D \n"
|
|
"indicate two acceptable orders: A,C,B,D or C,A,B,D, \n"
|
|
"since A and C can be ordered in either sequence, but \n"
|
|
"only at the \'1\' position. \n"
|
|
"\n"
|
|
"Note that the non-zero sequence numbers need not start "
|
|
"with \'1\', and they need not be consecutive. All that "
|
|
"matters is their relative magnitude." )]
|
|
uint64 AssignedSequence;
|
|
|
|
|
|
};
|