fix: KPI排除不可用网元类型的选择
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -814,7 +814,7 @@ export default {
|
||||
exportSure:'确认是否导出全部统计数据',
|
||||
exportEmpty: "导出数据为空",
|
||||
showChartSelected: "显示全部",
|
||||
realTimeData: "实时5s数据",
|
||||
realTimeData: "实时数据",
|
||||
},
|
||||
customTarget:{
|
||||
kpiId:'自定义指标项',
|
||||
|
||||
@@ -566,6 +566,7 @@ function wsMessage(res: Record<string, any>) {
|
||||
}
|
||||
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user