feat:关键指标添加MME网元指标(上一个是未中英的语音仪表盘)

This commit is contained in:
zhongzm
2025-08-22 16:19:24 +08:00
parent 7bf8bad9e4
commit f16b07a2d6

View File

@@ -43,7 +43,7 @@ interface ChartDataItem {
const tableLoading = ref(false);
const rangeLoading = ref(false);
//网元类型定义
const ALL_NE_TYPES = ['AMF', 'UPF', 'IMS'] as const;
const ALL_NE_TYPES = ['AMF', 'UPF', 'IMS','MME'] as const;
type NeType = (typeof ALL_NE_TYPES)[number];
echarts.use([
@@ -143,6 +143,7 @@ const TARGET_KPI_IDS: Record<NeType, string[]> = {
AMF: ['AMF.02', 'AMF.03'],
UPF: ['UPF.04', 'UPF.05'],
IMS: ['SCSCF.03', 'SCSCF.04', 'SCSCF.05', 'SCSCF.06', 'SCSCF.07', 'SCSCF.08'],
MME: ['MME.A.01','MME.A.02'],
// AMF: ['AMF.02', 'AMF.03', 'AMF.A.07', 'AMF.A.08'],
// SMF: ['SMF.02', 'SMF.03', 'SMF.04', 'SMF.05'],
@@ -163,6 +164,8 @@ const KPI_TITLE: Record<string, string> = {
'SCSCF.06': 'MO Call Attempt',
'SCSCF.07': 'MT Call Success',
'SCSCF.08': 'MT Call Attempt',
'MME.A.01':'MME Attach Requests',
'MME.A.02':'MME Attach Successes',
};
// 添加网元信息 store
@@ -173,6 +176,7 @@ const neList = ref<Record<NeType, { neId: string; neName: string }[]>>({
AMF: [],
UPF: [],
IMS: [],
MME: [],
});
// 添加获取网元列表的函数