From bc3940016a540b18a46382e3aa873d182c646534 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 30 Jul 2024 18:22:32 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BD=91=E5=85=83=E5=85=AC=E5=85=B1?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=88=E5=B9=B6=E5=88=B0=E7=BD=91=E5=85=83?= =?UTF-8?q?=E5=BF=AB=E9=80=9F=E5=AE=89=E8=A3=85=EF=BC=8C=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=A4=9A=E8=AF=AD=E8=A8=80=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 | 13 +- src/i18n/locales/zh-CN.ts | 13 +- src/views/ne/neConfPara5G/index.vue | 296 ------------------ .../components/Para5GForm.vue | 12 +- src/views/ne/neQuickSetup/hooks/usePara5G.ts | 139 ++++++++ src/views/ne/neQuickSetup/hooks/useStep.ts | 31 +- src/views/ne/neQuickSetup/index.vue | 59 ++-- .../components/NeInfoConfigPara5G.vue | 4 +- 8 files changed, 216 insertions(+), 351 deletions(-) delete mode 100644 src/views/ne/neConfPara5G/index.vue rename src/views/ne/{neConfPara5G => neQuickSetup}/components/Para5GForm.vue (98%) create mode 100644 src/views/ne/neQuickSetup/hooks/usePara5G.ts diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 52fd7648..3ebe951c 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -769,23 +769,13 @@ export default { uploadChangeOk: 'Network Element renewed license successfully and is being calibrated in the background!', uploadChangeFail: "Some network elements failed to update the license, please check whether the service terminal environment is available!", }, - neConfPara5G: { - headerTip: 'Check and save the public parameter properties of the network element before performing the installation of the network element, and make sure that the latest parameter properties are applied.', - headerTipToPage: 'Jump Installation', - save: 'Save', - reload: 'Reload', - title: 'Save Info', - sync: 'Sync to NE', - syncNe: 'Select NE', - syncNeDone: 'Synchronization to network element terminals complete', - saveOk: 'Save Success!', - }, neConfigBackup: { name: "Name", downTip: 'Confirmed to download the backup file [{txt}]?', title: "Modify Backup {txt}", }, neQuickSetup: { + reloadPara5G: 'Reload', stepPrev: 'Previous', stepPrevTip: 'Confirm that you want to abandon the current change and return to the previous step?', stepNext: 'Next', @@ -1952,6 +1942,7 @@ export default { stepNeInfoStepNext: 'Confirm that you want to proceed to the next step to configure the parameters of the network element?', stepPara5GTitle: "Configuration Parameter", stepPara5GDesc: "Setting network element global parameter information", + savePara5GOk: 'Save Success!', stepPara5GStepPrev: 'Confirm that you want to abandon the current change and return to the previous step?', stepPara5GStepNext: 'Confirm that you want to proceed to the next step for the network element service installation?', stepInstallTitle: "Service Install", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 8a54c3e8..32e76e82 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -769,23 +769,13 @@ export default { uploadChangeOk: '网元更新许可证成功,正在后台校验!', uploadChangeFail: "部分网元更新许可证失败,请检查服务终端环境是否可用!", }, - neConfPara5G: { - headerTip: '进行网元安装前检查并保存网元公共参数属性,确认应用为最新参数属性', - headerTipToPage: '跳转安装', - save: '保存', - reload: '刷新', - title: '保存信息', - sync: '同步到网元', - syncNe: '选择网元', - syncNeDone: '同步到网元终端完成', - saveOk: '保存成功!', - }, neConfigBackup: { name: "名称", downTip: '确认要下载备份文件【{txt}】吗?', title: "修改备份信息 {txt}", }, neQuickSetup: { + reloadPara5G: '刷新', stepPrev: '上一步', stepPrevTip: '确认要放弃当前变更返回上一步吗?', stepNext: '下一步', @@ -1952,6 +1942,7 @@ export default { stepNeInfoStepNext: '确认要下一步进行网元配置参数?', stepPara5GTitle: "网元配置参数", stepPara5GDesc: "设置网元全局参数信息", + savePara5GOk: '保存成功!', stepPara5GStepPrev: '确认要放弃当前变更返回上一步吗?', stepPara5GStepNext: '确认要下一步进行网元服务安装吗?', stepInstallTitle: "网元服务安装", diff --git a/src/views/ne/neConfPara5G/index.vue b/src/views/ne/neConfPara5G/index.vue deleted file mode 100644 index 58d4efae..00000000 --- a/src/views/ne/neConfPara5G/index.vue +++ /dev/null @@ -1,296 +0,0 @@ - - - - - diff --git a/src/views/ne/neConfPara5G/components/Para5GForm.vue b/src/views/ne/neQuickSetup/components/Para5GForm.vue similarity index 98% rename from src/views/ne/neConfPara5G/components/Para5GForm.vue rename to src/views/ne/neQuickSetup/components/Para5GForm.vue index 66ba7738..3189365f 100644 --- a/src/views/ne/neConfPara5G/components/Para5GForm.vue +++ b/src/views/ne/neQuickSetup/components/Para5GForm.vue @@ -1,5 +1,5 @@