From 3116e51338f127f88f0a669edcf863928013809d Mon Sep 17 00:00:00 2001 From: zhongzm Date: Mon, 22 Sep 2025 18:09:27 +0800 Subject: [PATCH 1/6] =?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/6] =?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') }} From 1eec47f41012effc7e1eb962ba75c2e64131b260 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 25 Sep 2025 15:30:28 +0800 Subject: [PATCH 3/6] =?UTF-8?q?style:=20UDM=E6=95=B0=E6=8D=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/neData/udm-auth/index.vue | 11 ++++++++ src/views/neData/udm-sub/index.vue | 23 ++++++++++++++-- src/views/neData/udm-voip/index.vue | 40 ++++++++++++++++++++++----- src/views/neData/udm-volte/index.vue | 41 +++++++++++++++++++++++----- 4 files changed, 99 insertions(+), 16 deletions(-) diff --git a/src/views/neData/udm-auth/index.vue b/src/views/neData/udm-auth/index.vue index 70c4edb5..fa70901e 100644 --- a/src/views/neData/udm-auth/index.vue +++ b/src/views/neData/udm-auth/index.vue @@ -26,6 +26,7 @@ import { } from '@/api/neData/udm_auth'; import { uploadFile } from '@/api/tool/file'; import { getNeViewFile } from '@/api/tool/neFile'; +import { parseDateToStr } from '@/utils/date-utils'; const { t } = useI18n(); const neListStore = useNeListStore(); /**网元参数 */ @@ -117,6 +118,16 @@ let tableColumns = ref([ align: 'center', width: 100, }, + { + title: 'Create Time', + dataIndex: 'createTime', + align: 'left', + width: 250, + customRender(opt) { + if (!opt.value) return ''; + return parseDateToStr(+opt.value); + }, + }, { title: t('common.operate'), key: 'imsi', diff --git a/src/views/neData/udm-sub/index.vue b/src/views/neData/udm-sub/index.vue index 2653d830..d76a4784 100644 --- a/src/views/neData/udm-sub/index.vue +++ b/src/views/neData/udm-sub/index.vue @@ -26,6 +26,7 @@ import { } from '@/api/neData/udm_sub'; import { uploadFile } from '@/api/tool/file'; import { getNeViewFile } from '@/api/tool/neFile'; +import { parseDateToStr } from '@/utils/date-utils'; const { t } = useI18n(); const neListStore = useNeListStore(); /**网元参数 */ @@ -155,6 +156,16 @@ let tableColumns = ref([ minWidth: 150, maxWidth: 500, }, + { + title: 'Create Time', + dataIndex: 'createTime', + align: 'left', + width: 250, + customRender(opt) { + if (!opt.value) return ''; + return parseDateToStr(+opt.value); + }, + }, { title: t('common.operate'), key: 'imsi', @@ -1220,7 +1231,11 @@ onMounted(() => {