feat: 网元公共配置多语言翻译

This commit is contained in:
TsMask
2024-05-20 16:20:58 +08:00
parent c1a9497b77
commit 624f67ecca
3 changed files with 13 additions and 3 deletions

View File

@@ -727,6 +727,11 @@ export default {
licensePath: "License File",
licensePathTip: "Please upload license file",
},
neConfPara5G: {
title: 'Save Info',
sync: 'Sync to NE',
syncNe: 'Select NE',
},
},
neUser: {
auth: {

View File

@@ -727,6 +727,11 @@ export default {
licensePath: "许可证文件",
licensePathTip: "请上传许可证文件",
},
neConfPara5G: {
title: '保存信息',
sync: '同步到网元',
syncNe: '选择网元',
},
},
neUser: {
auth: {

View File

@@ -394,7 +394,7 @@ onMounted(() => {
:keyboard="false"
:mask-closable="false"
:visible="state.visible"
title="保存信息"
:title="t('views.ne.neConfPara5G.title')"
:confirm-loading="state.confirmLoading"
@ok="fnModalOk"
@cancel="fnModalCancel"
@@ -405,7 +405,7 @@ onMounted(() => {
:label-col="{ span: 5 }"
:label-wrap="true"
>
<a-form-item label="Sync To NE" name="sync">
<a-form-item :label="t('views.ne.neConfPara5G.sync')" name="sync">
<a-switch
:checked-children="t('common.switch.open')"
:un-checked-children="t('common.switch.shut')"
@@ -413,7 +413,7 @@ onMounted(() => {
:disabled="state.confirmLoading"
></a-switch>
</a-form-item>
<a-form-item label="Select NE" name="syncNe" v-if="state.sync">
<a-form-item :label="t('views.ne.neConfPara5G.syncNe')" name="syncNe" v-if="state.sync">
<a-select
v-model:value="state.syncNe"
mode="multiple"