修改测试问题

This commit is contained in:
guanj
2026-06-30 08:38:05 +08:00
parent 490b52b525
commit 536f22584d
103 changed files with 3220 additions and 2394 deletions

View File

@@ -17,8 +17,7 @@ export function decorateDeviceTree(
child.children?.forEach((grand: any) => {
applyMeta(grand, {
icon: 'el-icon-Platform',
color: statusColor(grand.comFlag),
level: 3
color: statusColor(grand.comFlag)
})
leaves.engineering.push(grand)
})
@@ -69,7 +68,6 @@ export function decorateDeviceTree(
l3.pName = '监测设备'
applyMeta(l3, {
icon: 'el-icon-Platform',
level: 3,
color: l3.comFlag === 1 ? '#e26257 !important' : primary()
})
leaves.monitor.push(l3)
@@ -117,10 +115,16 @@ export function decorateCloudTree(root: any, decorators: LineTreeDecorators): an
l2.children?.forEach((l3: any) => {
applyMeta(l3, {
icon: 'el-icon-Platform',
level: 2,
// level: 2,
color: statusColor(l3.comFlag)
})
leaves.push(l3)
l3.children?.forEach((l4: any) => {
applyMeta(l4, {
icon: 'local-监测点',
color: statusColor(l4.comFlag)
})
leaves.push(l4)
})
})
})
})