From 3116e51338f127f88f0a669edcf863928013809d Mon Sep 17 00:00:00 2001 From: zhongzm Date: Mon, 22 Sep 2025 18:09:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E5=8F=96=E6=B6=88=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E7=BD=91=E5=85=83=E6=8E=92=E5=88=97=EF=BC=8C=E4=BB=85=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E6=98=BE=E7=A4=BA=E5=A4=B1=E8=B4=A5=E7=BD=91=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ne/neInfo/components/QuickOAMModal.vue | 46 ++++++++++++------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/src/views/ne/neInfo/components/QuickOAMModal.vue b/src/views/ne/neInfo/components/QuickOAMModal.vue index 0b7da036..74445558 100644 --- a/src/views/ne/neInfo/components/QuickOAMModal.vue +++ b/src/views/ne/neInfo/components/QuickOAMModal.vue @@ -245,8 +245,9 @@ async function fnModalOk() { message.warning(`${t('views.ne.neInfo.quickOam.success')} ${successCount} ,${t('views.ne.neInfo.quickOam.default')} ${failCount} `, 5); } - emit('ok'); - fnModalCancel(); + // 不自动关闭弹窗,让用户查看结果 + // emit('ok'); + // fnModalCancel(); } catch (error: any) { message.error(t('common.errorFields', { num: error.errorFields?.length || 0 }), 3); } finally { @@ -271,6 +272,13 @@ function fnModalCancel() { emit('update:open', false); } +/** + * 手动关闭弹窗(用于操作完成后) + */ +function fnModalClose() { + fnModalCancel(); +} + /**监听是否显示,初始数据 */ watch( () => props.open, @@ -365,12 +373,12 @@ watch( {{ modalState.progress.current }} / {{ modalState.progress.total }} - - - - - - + + + + + +
{{ t('views.ne.neInfo.quickOam.result') }}
+
- {{ result.neType }}-{{ result.neId }} ({{ result.neName }}) - + {{ result.message }}
+ +
+ + 所有网元配置成功! +
From d9bc5b9f02e72d2a314063cef1ee7fdc1833f8e9 Mon Sep 17 00:00:00 2001 From: zhongzm Date: Mon, 22 Sep 2025 18:13:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=E4=B8=AD=E8=8B=B1=E6=96=87=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 3 ++- src/i18n/locales/zh-CN.ts | 3 ++- src/views/ne/neInfo/components/QuickOAMModal.vue | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 11e25fd2..1d0b9b32 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -600,6 +600,7 @@ export default { result:'Result', success:'Success', default:'Default', + allsuccess:'All NE have been configured successfully!', }, quickUpload: { title: 'Quick License Upload', @@ -1371,7 +1372,7 @@ export default { kpiPCF:'KPI PCF', kpiUPF:'KPI UPF', kpiMME:'KPI MME', - kpiSMSC:'KPI SMSC', + kpiSMSC:'KPI SMSC', } }, monitor: { diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index ed2b05b8..f577e405 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -600,6 +600,7 @@ export default { result:'操作结果', success:'成功', default:'失败', + allsuccess:'所有网元配置成功!', }, quickUpload: { title: '快速许可证上传', @@ -1371,7 +1372,7 @@ export default { kpiPCF:'KPI PCF', kpiUPF:'KPI UPF', kpiMME:'KPI MME', - kpiSMSC:'KPI SMSC', + kpiSMSC:'KPI SMSC', } }, monitor: { diff --git a/src/views/ne/neInfo/components/QuickOAMModal.vue b/src/views/ne/neInfo/components/QuickOAMModal.vue index 74445558..41a03d25 100644 --- a/src/views/ne/neInfo/components/QuickOAMModal.vue +++ b/src/views/ne/neInfo/components/QuickOAMModal.vue @@ -421,7 +421,7 @@ watch( style="text-align: center; padding: 20px; color: #52c41a;" > - 所有网元配置成功! + {{ t('views.ne.neInfo.quickOam.allsuccess') }}