fix: 参数配置默认首个选AMF
This commit is contained in:
@@ -1007,7 +1007,7 @@ onMounted(() => {
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
||||
if (res.data.length > 0) {
|
||||
const item = res.data[0];
|
||||
const item = res.data.find(s => s.neType === 'AMF');
|
||||
neTypeSelect.value = [item.neType, item.neId];
|
||||
fnGetParamConfigTopTab();
|
||||
}
|
||||
@@ -1034,7 +1034,11 @@ onMounted(() => {
|
||||
<a-form-item label="网元类型" name="neTypeSelect">
|
||||
<a-cascader
|
||||
v-model:value="neTypeSelect"
|
||||
:options="useNeInfoStore().getNeCascaderOtions.filter(item=> item.value !== 'OMC')"
|
||||
:options="
|
||||
useNeInfoStore().getNeCascaderOtions.filter(
|
||||
item => item.value !== 'OMC'
|
||||
)
|
||||
"
|
||||
:allow-clear="false"
|
||||
placeholder="请选择网元"
|
||||
@change="fnGetParamConfigTopTab"
|
||||
@@ -1061,7 +1065,11 @@ onMounted(() => {
|
||||
<a-card :bordered="false" :body-style="{ paddingTop: '0px' }">
|
||||
<!-- 插槽-卡片左侧侧 -->
|
||||
<template #title>
|
||||
<a-space :size="8" align="center" v-show="!['PCF','IMS'].includes(neTypeSelect[0])">
|
||||
<a-space
|
||||
:size="8"
|
||||
align="center"
|
||||
v-show="!['PCF', 'IMS'].includes(neTypeSelect[0])"
|
||||
>
|
||||
<a-popconfirm
|
||||
placement="topLeft"
|
||||
title="网元配置重新载入"
|
||||
|
||||
Reference in New Issue
Block a user