fix: 网元公共配置OMC的IP去除覆盖

This commit is contained in:
TsMask
2024-07-05 14:42:45 +08:00
parent d095531952
commit 6102972373
3 changed files with 13 additions and 2 deletions

View File

@@ -771,6 +771,8 @@ export default {
uploadChangeFail: "Some network elements failed to update the license, please check whether the service terminal environment is available!", uploadChangeFail: "Some network elements failed to update the license, please check whether the service terminal environment is available!",
}, },
neConfPara5G: { neConfPara5G: {
headerTip: 'Check and save the public parameter properties of the network element before performing the installation of the network element, and make sure that the latest parameter properties are applied.',
headerTipToPage: 'Jump Installation',
save: 'Save', save: 'Save',
reload: 'Reload', reload: 'Reload',
title: 'Save Info', title: 'Save Info',

View File

@@ -771,6 +771,8 @@ export default {
uploadChangeFail: "部分网元更新许可证失败,请检查服务终端环境是否可用!", uploadChangeFail: "部分网元更新许可证失败,请检查服务终端环境是否可用!",
}, },
neConfPara5G: { neConfPara5G: {
headerTip: '进行网元安装前检查并保存网元公共参数属性,确认应用为最新参数属性',
headerTipToPage: '跳转安装',
save: '保存', save: '保存',
reload: '刷新', reload: '刷新',
title: '保存信息', title: '保存信息',

View File

@@ -119,8 +119,8 @@ function fnGetData() {
for (const item of resArr[1].rows) { for (const item of resArr[1].rows) {
switch (item.neType) { switch (item.neType) {
case 'OMC': case 'OMC':
state.from.sbi.omc_ip = item.ip; // state.from.sbi.omc_ip = item.ip;
Object.assign(state.omcInfo, item); Object.assign(state.omcInfo, item); // 主动改OMC_IP
break; break;
case 'IMS': case 'IMS':
state.from.sbi.ims_ip = item.ip; state.from.sbi.ims_ip = item.ip;
@@ -204,6 +204,13 @@ onMounted(() => {
<template> <template>
<PageContainer> <PageContainer>
<template #content>
{{ t('views.ne.neConfPara5G.headerTip') }}
<RouterLink :to="{ name: 'NeQuickSetup_2142' }">
{{ t('views.ne.neConfPara5G.headerTipToPage') }}
</RouterLink>
</template>
<a-card :bordered="false"> <a-card :bordered="false">
<!-- 公共参数表单 --> <!-- 公共参数表单 -->
<Para5GForm v-model:data="state.from" :ne="state.hasNE"></Para5GForm> <Para5GForm v-model:data="state.from" :ne="state.hasNE"></Para5GForm>