From 939a235a873a163384e9f7951268eac5b3cdf992 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Mon, 27 May 2024 18:33:46 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=BD=91=E5=85=83=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ne/neSoftware.ts | 2 +- src/i18n/locales/en-US.ts | 2 +- .../components/NeInfoSoftwareInstall.vue | 22 ++++++++++++++----- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/api/ne/neSoftware.ts b/src/api/ne/neSoftware.ts index c3d06709..7d2255ed 100644 --- a/src/api/ne/neSoftware.ts +++ b/src/api/ne/neSoftware.ts @@ -68,7 +68,7 @@ export function delNeSoftware(softwareIds: string | number) { /** * 网元软件包设为网元新版本 - * @param data { "version": "2.2404.18", "neType": "SMF", "name": "smf-r2.2404.18-ub22.deb"} + * @param data data { "version": "2.2404.18", "neType": "SMF", "name": "smf-r2.2404.18-ub22.deb"} * @returns object */ export function newNeVersion(data: Record) { diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index b2939560..a360b197 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -784,7 +784,7 @@ export default { installSourceOption: 'Uploaded', installSourceUpload: 'New Upload', installSelect: 'Select Record', - installUpload: 'Upload file', + installUpload: 'Upload File', installText: 'Installed', licenseTitle: "Licenses", licenseDesc: "Network element service authorization certification", diff --git a/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue b/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue index 0c68fca3..0e447a31 100644 --- a/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue +++ b/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue @@ -157,6 +157,12 @@ type StateType = { optionType: 'upload' | 'option'; /**文件上传 */ visibleByFile: boolean; + /** + * 依赖包类型 + * IMS-rtproxy/mf/adb + * UDM-adb + */ + depType: string[]; /**软件包信息数据 */ from: { neType: string; // 版本需要 @@ -175,6 +181,7 @@ let state: StateType = reactive({ stepNext: false, optionType: 'option', visibleByFile: false, + depType: [], from: { id: undefined, neType: '', @@ -199,6 +206,11 @@ function fnOptionTypeChange() { } } +/**对话框弹出 */ +function fnModalOpen() { + state.visibleByFile = !state.visibleByFile; +} + /**对话框弹出确认执行函数*/ function fnModalOk(e: any) { Object.assign(state.from, e, { id: '' }); @@ -320,6 +332,7 @@ onMounted(() => { +