diff --git a/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue b/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue
index 52cd89a8..6cea5580 100644
--- a/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue
+++ b/src/views/ne/neQuickSetup/components/NeInfoSoftwareInstall.vue
@@ -149,8 +149,6 @@ function fnGetList(pageNum?: number) {
type StateType = {
/**是否可以下一步 */
stepNext: boolean;
- /**文件操作类型 上传 or 选择 */
- optionType: 'upload' | 'option';
/**文件上传 */
openByFile: boolean;
/**网元拓展包列表类型 */
@@ -171,7 +169,6 @@ type StateType = {
/**对象信息状态 */
let state: StateType = reactive({
stepNext: false,
- optionType: 'option',
openByFile: false,
depType: [],
from: {
@@ -186,18 +183,6 @@ let state: StateType = reactive({
confirmLoading: false,
});
-/**
- * 表单修改文件操作类型
- */
-function fnOptionTypeChange() {
- state.from.name = '';
- state.from.version = '';
- tableState.selectedRowKeys = [];
- if (state.optionType === 'option') {
- fnGetList(1);
- }
-}
-
/**对话框弹出 */
function fnModalOpen() {
state.openByFile = !state.openByFile;
@@ -226,17 +211,6 @@ function fnRecordInstall() {
state.confirmLoading = true;
const hide = message.loading(t('common.loading'), 0);
- // 选择的软件需要更新版本
- if (state.optionType === 'option') {
- const res = await newNeVersion(from);
- if (res.code === RESULT_CODE_ERROR) {
- message.error(res.msg, 3);
- hide();
- state.confirmLoading = false;
- return;
- }
- }
-
// 进行安装
let preinput = {};
if (from.neType.toUpperCase() === 'IMS') {
@@ -256,8 +230,6 @@ function fnRecordInstall() {
}
// 非选择的重置
- state.optionType = 'option';
- fnOptionTypeChange();
hide();
state.confirmLoading = false;
},
@@ -306,67 +278,6 @@ onMounted(() => {
:wrapper-col="{ span: 16 }"
:label-wrap="true"
>
-
-
-
- {{ t('views.ne.neQuickSetup.installSourceOption') }}
-
-
- {{ t('views.ne.neQuickSetup.installSourceUpload') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ record.path }}
- {{ record.name }}
-
-
-
-
- {{ record.description }}
- {{ record.description }}
-
-
-
-
-
-
-
-
-
{
{{ t('views.ne.neSoftware.upload') }}
-