From b1c7a068cf211df6059fc9679eb308d39f431978 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 24 May 2024 17:41:08 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BD=91=E5=85=83=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E5=8B=BE=E9=80=89=E5=A4=9A=E4=B8=8A=E4=BC=A0=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 1 + src/i18n/locales/zh-CN.ts | 1 + .../components/UploadLicenseFile.vue | 170 ++++++------------ 3 files changed, 61 insertions(+), 111 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 0b4f1be0..ff87e588 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -736,6 +736,7 @@ export default { licensePathTip: "Please upload license file", upload: 'Upload', uploadBatch: "Upload License", + uploadChangeFail: "Some network elements failed to update the license, please check whether the service terminal environment is available!", }, neConfPara5G: { title: 'Save Info', diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 8d92d7c9..dcbcb44f 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -736,6 +736,7 @@ export default { licensePathTip: "请上传许可证文件", upload: '上传', uploadBatch: "上传许可证", + uploadChangeFail: "部分网元更新许可证失败,请检查服务终端环境是否可用!", }, neConfPara5G: { title: '保存信息', diff --git a/src/views/ne/neLicense/components/UploadLicenseFile.vue b/src/views/ne/neLicense/components/UploadLicenseFile.vue index 867ad4c5..6c59b5bd 100644 --- a/src/views/ne/neLicense/components/UploadLicenseFile.vue +++ b/src/views/ne/neLicense/components/UploadLicenseFile.vue @@ -1,12 +1,12 @@ @@ -207,30 +186,31 @@ onMounted(() => {}); :visible="modalState.visibleByUploadFile" :title="modalState.title" :confirm-loading="modalState.confirmLoading" + :cancel-button-props="{ disabled: modalState.confirmLoading }" + :closable="false" @ok="fnModalOk" @cancel="fnModalCancel" > - - + + {{ s.neType }} - - - Universal - AUSF-UDM-IMS - - - + + {}); - Upload + {{ t('views.ne.neLicense.upload') }} - - - - - - - Upload - - - - Other - AUSF-UDM-IMS - - -