fix: 禁用非IMS类型的IP输入框
This commit is contained in:
@@ -489,6 +489,7 @@ 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"
|
||||||
|
|||||||
@@ -624,26 +624,10 @@ onMounted(() => {
|
|||||||
<CloseSquareOutlined />
|
<CloseSquareOutlined />
|
||||||
{{ t('views.ne.common.stop') }}
|
{{ t('views.ne.common.stop') }}
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
<a-menu-item
|
|
||||||
key="reload"
|
|
||||||
v-if="
|
|
||||||
!['OMC', 'PCF', 'IMS', 'MME'].includes(record.neType)
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<SyncOutlined />
|
|
||||||
{{ t('views.ne.common.reload') }}
|
|
||||||
</a-menu-item>
|
|
||||||
<a-menu-item key="delete">
|
<a-menu-item key="delete">
|
||||||
<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