fix: KPI排除不可用网元类型的选择
This commit is contained in:
@@ -814,7 +814,7 @@ export default {
|
|||||||
exportSure:'Confirm whether to export all statistical data',
|
exportSure:'Confirm whether to export all statistical data',
|
||||||
exportEmpty: "Export data is empty",
|
exportEmpty: "Export data is empty",
|
||||||
showChartSelected: "Show All",
|
showChartSelected: "Show All",
|
||||||
realTimeData: "Real Time 5s Data",
|
realTimeData: "Real Time Data",
|
||||||
},
|
},
|
||||||
customTarget:{
|
customTarget:{
|
||||||
kpiId:' Custom Indicator',
|
kpiId:' Custom Indicator',
|
||||||
|
|||||||
@@ -814,7 +814,7 @@ export default {
|
|||||||
exportSure:'确认是否导出全部统计数据',
|
exportSure:'确认是否导出全部统计数据',
|
||||||
exportEmpty: "导出数据为空",
|
exportEmpty: "导出数据为空",
|
||||||
showChartSelected: "显示全部",
|
showChartSelected: "显示全部",
|
||||||
realTimeData: "实时5s数据",
|
realTimeData: "实时数据",
|
||||||
},
|
},
|
||||||
customTarget:{
|
customTarget:{
|
||||||
kpiId:'自定义指标项',
|
kpiId:'自定义指标项',
|
||||||
|
|||||||
@@ -566,6 +566,7 @@ function wsMessage(res: Record<string, any>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
// 目前支持的 AMF AUSF MME MOCNGW NSSF SMF UDM UPF
|
||||||
// 获取网元网元列表
|
// 获取网元网元列表
|
||||||
neInfoStore.fnNelist().then(res => {
|
neInfoStore.fnNelist().then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
||||||
@@ -573,7 +574,15 @@ onMounted(() => {
|
|||||||
// 过滤不可用的网元
|
// 过滤不可用的网元
|
||||||
neCascaderOptions.value = neInfoStore.getNeCascaderOptions.filter(
|
neCascaderOptions.value = neInfoStore.getNeCascaderOptions.filter(
|
||||||
(item: any) => {
|
(item: any) => {
|
||||||
return !['OMC'].includes(item.value);
|
return ![
|
||||||
|
'OMC',
|
||||||
|
'PCF',
|
||||||
|
'NSSF',
|
||||||
|
'NEF',
|
||||||
|
'NRF',
|
||||||
|
'LMF',
|
||||||
|
'N3IWF',
|
||||||
|
].includes(item.value);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
if (neCascaderOptions.value.length === 0) {
|
if (neCascaderOptions.value.length === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user