From c674b9b3f995d941acb0a65abd46ab177175513b Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Wed, 10 Apr 2024 18:54:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20KPI=E6=8E=92=E9=99=A4=E4=B8=8D=E5=8F=AF?= =?UTF-8?q?=E7=94=A8=E7=BD=91=E5=85=83=E7=B1=BB=E5=9E=8B=E7=9A=84=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 2 +- src/i18n/locales/zh-CN.ts | 2 +- src/views/perfManage/goldTarget/index.vue | 11 ++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index bbad2dec..b1a321ca 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -814,7 +814,7 @@ export default { exportSure:'Confirm whether to export all statistical data', exportEmpty: "Export data is empty", showChartSelected: "Show All", - realTimeData: "Real Time 5s Data", + realTimeData: "Real Time Data", }, customTarget:{ kpiId:' Custom Indicator', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index a7cef126..40bbfc5f 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -814,7 +814,7 @@ export default { exportSure:'确认是否导出全部统计数据', exportEmpty: "导出数据为空", showChartSelected: "显示全部", - realTimeData: "实时5s数据", + realTimeData: "实时数据", }, customTarget:{ kpiId:'自定义指标项', diff --git a/src/views/perfManage/goldTarget/index.vue b/src/views/perfManage/goldTarget/index.vue index ecfb17b0..e3e78669 100644 --- a/src/views/perfManage/goldTarget/index.vue +++ b/src/views/perfManage/goldTarget/index.vue @@ -566,6 +566,7 @@ function wsMessage(res: Record) { } onMounted(() => { + // 目前支持的 AMF AUSF MME MOCNGW NSSF SMF UDM UPF // 获取网元网元列表 neInfoStore.fnNelist().then(res => { if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) { @@ -573,7 +574,15 @@ onMounted(() => { // 过滤不可用的网元 neCascaderOptions.value = neInfoStore.getNeCascaderOptions.filter( (item: any) => { - return !['OMC'].includes(item.value); + return ![ + 'OMC', + 'PCF', + 'NSSF', + 'NEF', + 'NRF', + 'LMF', + 'N3IWF', + ].includes(item.value); } ); if (neCascaderOptions.value.length === 0) {