From 3f02cb628b1c703fd3d7c2912dbc240020c8410e Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 28 May 2024 15:31:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=91=E5=85=83=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E5=8C=85=E6=94=AF=E6=8C=81=E6=90=BA=E5=B8=A6=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constants/ne-constants.ts | 7 + src/i18n/locales/en-US.ts | 6 +- src/i18n/locales/zh-CN.ts | 6 +- .../ne/neSoftware/components/EditModal.vue | 224 +++++++++--- .../neSoftware/components/UploadMoreFile.vue | 324 ++++++++++++------ 5 files changed, 427 insertions(+), 140 deletions(-) diff --git a/src/constants/ne-constants.ts b/src/constants/ne-constants.ts index 79e02187..68f3a378 100644 --- a/src/constants/ne-constants.ts +++ b/src/constants/ne-constants.ts @@ -17,3 +17,10 @@ export const NE_TYPE_LIST = [ 'MOCNGW', 'SMSC', ]; + +/** + * 网元拓展包列表,默认顺序 + * IMS-adb/rtproxy/mf + * UDM-adb + */ +export const NE_EXPAND_LIST = ['ADB', 'RTPROXY', 'MF']; diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index dfa9fe18..1b225f89 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -704,7 +704,11 @@ export default { fileCheckType: 'The corresponding network element type is not resolved', fileCheckVer: 'The corresponding version number is not resolved', fileTypeNotEq: 'Not a specified network element type {txt}', - fileTypeExists: 'Same network element type file already exists', + fileTypeExists: 'Same type of file already exists', + fileNameExists: 'File with same name already exists', + fileCheckTypeDep: 'The specified dependency package type is not resolved', + dependFile: 'Software Dependencies', + dependFileTip: 'File name resolution is the same as above, and installation is based on the order of uploading.', }, neVersion: { upgrade: "Upgrade To New Version", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index ff858f19..104f98e2 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -704,7 +704,11 @@ export default { fileCheckType: '未解析出对应的网元类型', fileCheckVer: '未解析出对应的版本号', fileTypeNotEq: '不是指定网元类型 {txt}', - fileTypeExists: '已存在相同网元类型文件', + fileTypeExists: '已存在相同类型文件', + fileNameExists: '已存在相同名称文件', + fileCheckTypeDep: '未解析出对应指定的依赖包类型', + dependFile: '软件包依赖', + dependFileTip: '文件名解析同上,依据上传顺序安装', }, neVersion: { upgrade: "升级到新版本", diff --git a/src/views/ne/neSoftware/components/EditModal.vue b/src/views/ne/neSoftware/components/EditModal.vue index 252f3403..8221bc81 100644 --- a/src/views/ne/neSoftware/components/EditModal.vue +++ b/src/views/ne/neSoftware/components/EditModal.vue @@ -1,9 +1,9 @@