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(() => { +