feat: 网元IP可编辑,OAM和主机连接配置的显示
This commit is contained in:
@@ -489,7 +489,6 @@ onMounted(() => {
|
|||||||
>
|
>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modalState.from.ip"
|
v-model:value="modalState.from.ip"
|
||||||
:disabled="modalState.from.neType !== 'IMS' && modalState.from.id > 0"
|
|
||||||
allow-clear
|
allow-clear
|
||||||
:placeholder="t('common.inputPlease')"
|
:placeholder="t('common.inputPlease')"
|
||||||
:maxlength="128"
|
:maxlength="128"
|
||||||
@@ -635,10 +634,10 @@ onMounted(() => {
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
|
|
||||||
<!-- 主机连接配置 -->
|
<!-- 主机连接配置 -->
|
||||||
<a-divider orientation="left">
|
<a-divider orientation="left" v-if="false">
|
||||||
{{ t('views.ne.neInfo.hostConfig') }}
|
{{ t('views.ne.neInfo.hostConfig') }}
|
||||||
</a-divider>
|
</a-divider>
|
||||||
<a-collapse class="collapse" ghost>
|
<a-collapse class="collapse" ghost v-if="false">
|
||||||
<a-collapse-panel
|
<a-collapse-panel
|
||||||
v-for="host in modalState.from.hosts.filter(
|
v-for="host in modalState.from.hosts.filter(
|
||||||
(s:any) => !(s.hostType === 'telnet' && modalState.from.neType === 'OMC')
|
(s:any) => !(s.hostType === 'telnet' && modalState.from.neType === 'OMC')
|
||||||
|
|||||||
@@ -592,6 +592,13 @@ onMounted(() => {
|
|||||||
<DeleteOutlined />
|
<DeleteOutlined />
|
||||||
{{ t('common.deleteText') }}
|
{{ t('common.deleteText') }}
|
||||||
</a-menu-item>
|
</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">
|
<a-menu-item key="backConfExport">
|
||||||
<ExportOutlined />
|
<ExportOutlined />
|
||||||
|
|||||||
Reference in New Issue
Block a user