From 3116e51338f127f88f0a669edcf863928013809d Mon Sep 17 00:00:00 2001 From: zhongzm Date: Mon, 22 Sep 2025 18:09:27 +0800 Subject: [PATCH] =?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 }}
+ +
+ + 所有网元配置成功! +