完成 谐波监测 稳态统计报表 联调 全局对话框添加可移动属性

This commit is contained in:
GGJ
2024-04-01 11:16:28 +08:00
parent fd71466b22
commit fe60893e89
58 changed files with 984 additions and 1209 deletions

View File

@@ -80,10 +80,6 @@ const loadData = () => {
item4.icon = 'fa-solid fa-tower-observation'
item4.color = config.getColorVal('elementUiPrimary')
item4.children.forEach((item5: anyObj) => {
if (!attrs['current-node-key'] && !nodeKey) {
nodeKey = item5.id
emit('init', item5)
}
item5.alias = `${item.name}>${item2.name}>${item3.name}>${item4.name}>${item5.name}`
item5.icon = 'fa-solid fa-location-dot'
item5.color = config.getColorVal('elementUiPrimary')
@@ -99,6 +95,10 @@ const loadData = () => {
})
})
})
nodeKey = res.data[0].children[0].children[0].children[0].children[0].id
emit('init', res.data[0].children[0].children[0].children[0].children[0])
tree.value = res.data
if (nodeKey) {
nextTick(() => {