优化 监控中心 前台页面

This commit is contained in:
fks-yangshouda
2024-08-23 13:18:12 +08:00
parent 6c3dd401ad
commit 723ade2531
7 changed files with 34 additions and 11 deletions

View File

@@ -500,7 +500,7 @@
};
onMounted(() => {
draw();
// draw();
});
// 下载图表

View File

@@ -155,7 +155,7 @@
chartInstance.setOption(option);
};
onMounted(() => {
draw();
// draw();
});
// 下载图表
@@ -177,6 +177,7 @@
downloadChart,
data,
haveData,
draw,
};
},
});

View File

@@ -99,6 +99,11 @@
iconName.value = 'zhexiantu';
} else {
iconName.value = 'biaoge1';
if (activeKey.value == '1') {
treeRef.value.getSelectGraph(activeKey.value);
} else {
treeRef.value.getSelectAnalyse(activeKey.value);
}
}
}
</script>

View File

@@ -480,8 +480,8 @@
expandedKeys.value = getAllKeys(treeData2.value);
if (treeData2.value?.length >= 2) {
checkedKeys.value.push(treeData2.value[0].key, treeData2.value[1].key);
getSelect(null);
}
getSelect(null);
})
.finally(() => {
treeLoading.value = false;