fix: KPI总览调整指标

This commit is contained in:
TsMask
2025-03-25 18:00:00 +08:00
parent dc0379a581
commit 4bd46f64a4
2 changed files with 81 additions and 25 deletions

View File

@@ -120,10 +120,14 @@ const toggleRealtime = () => {
// 定义要筛选的指标 ID按网元类型组织
const TARGET_KPI_IDS: Record<NeType, string[]> = {
AMF: ['AMF.02', 'AMF.03'],
// SMF: ['SMF.02', 'SMF.03', 'SMF.04', 'SMF.05'],
UPF: ['UPF.04', 'UPF.05'],
IMS: ['SCSCF.03', 'SCSCF.04', 'SCSCF.05', 'SCSCF.06', 'SCSCF.07', 'SCSCF.08'],
// AMF: ['AMF.02', 'AMF.03', 'AMF.A.07', 'AMF.A.08'],
// SMF: ['SMF.02', 'SMF.03', 'SMF.04', 'SMF.05'],
// UPF: ['UPF.03', 'UPF.04', 'UPF.05', 'UPF.06'],
// MME: ['MME.A.01', 'MME.A.02', 'MME.A.03'],
IMS: ['SCSCF.03', 'SCSCF.04', 'SCSCF.06'],
// IMS: ['SCSCF.01', 'SCSCF.02', 'SCSCF.05', 'SCSCF.06'],
// SMSC: ['SMSC.A.01', 'SMSC.A.02', 'SMSC.A.03'],
};
@@ -1000,6 +1004,7 @@ const tableRowConfig = computed(() => {
</div>
</template>
<style scoped>
/* 基础布局样式 */
.kpi-overview {
padding: 20px;
}
@@ -1113,12 +1118,10 @@ const tableRowConfig = computed(() => {
background-color: rgba(24, 144, 255, 0.2) !important;
}
[data-theme='dark'] :deep(.selected-row:hover) {
background-color: rgba(24, 144, 255, 0.3) !important;
}
/* 鼠标悬停样式 */
:deep(.ant-table-tbody tr:hover) {
cursor: pointer;
:deep(.ant-checkbox-wrapper) {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>