feat: 网元IP可编辑,OAM和主机连接配置的显示

This commit is contained in:
TsMask
2025-05-13 18:26:48 +08:00
parent 9286efa59b
commit 4f47eebb1e
2 changed files with 9 additions and 3 deletions

View File

@@ -489,7 +489,6 @@ onMounted(() => {
>
<a-input
v-model:value="modalState.from.ip"
:disabled="modalState.from.neType !== 'IMS' && modalState.from.id > 0"
allow-clear
:placeholder="t('common.inputPlease')"
:maxlength="128"
@@ -635,10 +634,10 @@ onMounted(() => {
</a-form-item>
<!-- 主机连接配置 -->
<a-divider orientation="left">
<a-divider orientation="left" v-if="false">
{{ t('views.ne.neInfo.hostConfig') }}
</a-divider>
<a-collapse class="collapse" ghost>
<a-collapse class="collapse" ghost v-if="false">
<a-collapse-panel
v-for="host in modalState.from.hosts.filter(
(s:any) => !(s.hostType === 'telnet' && modalState.from.neType === 'OMC')

View File

@@ -592,6 +592,13 @@ onMounted(() => {
<DeleteOutlined />
{{ t('common.deleteText') }}
</a-menu-item>
<a-menu-item
key="oam"
v-if="!['OMC'].includes(record.neType)"
>
<FileTextOutlined />
{{ t('views.ne.common.oam') }}
</a-menu-item>
<!-- 配置备份 -->
<a-menu-item key="backConfExport">
<ExportOutlined />