From db20ced6f3b7f451db9aea5c3c84053be383686e Mon Sep 17 00:00:00 2001 From: lai <10633968+laiyujun1@user.noreply.gitee.com> Date: Wed, 9 Jul 2025 16:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E4=B8=AD=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 7 +++++++ src/i18n/locales/zh-CN.ts | 11 +++++++++-- src/views/cbc/cbe/index.vue | 25 +++++++++++-------------- 3 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 63f86e09..dd3766ff 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -372,6 +372,7 @@ export default { }, cbc:{ cbe:{ + neType:'CBC Object', title: ' CBC Event', delTip: 'Confirm deletion of the event data item numbered [{num}]?', eventName: 'Event Name', @@ -398,6 +399,12 @@ export default { nrSonTip:'NR CellId List each item MCC, MNC, CellId cannot be empty', areaTip:'Area ID List cannot be empty', areaSonTip:'Area ID List each item AreaID cannot be empty', + messageIdProfile:'Message ID Profile', + serialNumProfile:'Serial Num Profile', + warningTypeProfile:'Warning Type Profile', + warningMessageProfile:'Warning Message Profile', + etws:'Earthquake and tsunami early warning system', + cmas:'Broadcast emergency alerts to the public via mobile networks', } }, dashboard: { diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 155ab677..5e72e51d 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -376,6 +376,7 @@ export default { }, cbc:{ cbe:{ + neType:'CBC网元类型', title: '广播事件', delTip: '确认删除编号为【{num}】的CBC事件吗?', eventName: '事件名称', @@ -383,8 +384,8 @@ export default { endTime: '结束时间', repetitionPeriod: '广播周期', numOfBcast: '广播次数', - msgPWSType: '广播消息类型', - messageId: '广播消息编号', + msgPWSType: '消息类型', + messageId: '消息编号', displayMode: '显示模式', geoScope:'广播覆盖范围', emergencyUserAlert: '紧急用户提示', @@ -402,6 +403,12 @@ export default { nrSonTip:'NR CellId List 每项的 MCC、MNC、CellId 都不能为空', areaTip:'Area ID List 不能为空', areaSonTip:'Area ID List 每项的 AreaID 都不能为空', + messageIdProfile:'消息标识配置', + serialNumProfile:'序列号配置', + warningTypeProfile:'预警类型配置', + warningMessageProfile:'预警消息配置', + etws:'地震海啸预警系统', + cmas:'通过移动网络向公众广播紧急警报', } }, dashboard: { diff --git a/src/views/cbc/cbe/index.vue b/src/views/cbc/cbe/index.vue index e99f2786..19543ddb 100644 --- a/src/views/cbc/cbe/index.vue +++ b/src/views/cbc/cbe/index.vue @@ -311,7 +311,7 @@ let modalState: ModalStateType = reactive({ numOfBcast: '', //messageIdProfile messageIdProfile: { - msgPWSType: 'CAMS', // + msgPWSType: 'CMAS', // messageId: 4370, }, @@ -416,7 +416,7 @@ function fnModalVisibleByEdit(record?: any) { modalState.openByEdit = true; } else { modalStateFrom.resetFields(); - modalState.title = t('common.addText') + t('views.cbc.cbe.title'); + modalState.title = t('common.viewText') + t('views.cbc.cbe.title'); modalState.openByEdit = true; console.log('record', record); modalState.from = Object.assign(modalState.from, record.messageJson, { @@ -636,10 +636,7 @@ function fnRecordSend(record: any) { }); } -/** - * UDM签约用户删除 - * @param imsi 编号imsi - */ + function fnRecordDelete(id: string) { const neId = queryParams.neId; @@ -751,7 +748,7 @@ function pwsTypeChange(value: any) { modalState.from.serialNumProfile.displayMode = 'immediate'; modalState.from.warningTypeProfile.emergencyUserAlert = 'true'; modalState.from.warningTypeProfile.activatePopup = 'true'; - } else if (value === 'CAMS') { + } else if (value === 'CMAS') { modalState.from.warningTypeProfile.warningType = ''; modalState.from.eventName = 'cmas_'; modalState.from.serialNumProfile.displayMode = 'normal'; @@ -803,7 +800,7 @@ onMounted(() => { - + { - messageIdProfile + {{t('views.cbc.cbe.messageIdProfile')}} @@ -1104,8 +1101,8 @@ onMounted(() => { v-model:value="modalState.from.messageIdProfile.msgPWSType" @change="pwsTypeChange" > - CAMS - ETWS + CMAS({{ t('views.cbc.cbe.cmas') }}) + ETWS({{ t('views.cbc.cbe.etws') }}) @@ -1132,7 +1129,7 @@ onMounted(() => { - serialNumProfile + {{t('views.cbc.cbe.serialNumProfile')}} @@ -1164,7 +1161,7 @@ onMounted(() => { - warningTypeProfile + {{t('views.cbc.cbe.warningTypeProfile')}} @@ -1222,7 +1219,7 @@ onMounted(() => { - warningMessageProfile + {{t('views.cbc.cbe.warningMessageProfile')}}