diff --git a/src/views/system/quick-start/components/Done.vue b/src/views/system/quick-start/components/Done.vue index ac285423..135a06af 100644 --- a/src/views/system/quick-start/components/Done.vue +++ b/src/views/system/quick-start/components/Done.vue @@ -1,15 +1,71 @@ - + diff --git a/src/views/system/quick-start/components/ConfigNeInfo.vue b/src/views/system/quick-start/components/NeInfoConfig.vue similarity index 86% rename from src/views/system/quick-start/components/ConfigNeInfo.vue rename to src/views/system/quick-start/components/NeInfoConfig.vue index 1879a2ea..8614c188 100644 --- a/src/views/system/quick-start/components/ConfigNeInfo.vue +++ b/src/views/system/quick-start/components/NeInfoConfig.vue @@ -268,27 +268,28 @@ function fnSaveFinishFailed(e: any) { function fnStepPrev() { Modal.confirm({ title: t('common.tipTitle'), - content: '确认要放弃当前变更返回上一步吗?', + content: '确认要退出网元安装吗?', onOk() { - fnToStepName('ConfigSystem'); + fnToStepName('SystemConfig'); }, }); } /**下一步操作 */ -function fnStepNext(stepName: 'ConfigNeInfoPara5G') { - if (stepName === 'ConfigNeInfoPara5G') { +function fnStepNext(stepName: 'NeInfoConfigPara5G') { + if (stepName === 'NeInfoConfigPara5G') { Modal.confirm({ title: t('common.tipTitle'), content: '确认要下一步进行各网元公共参数的设置?', onOk() { - fnToStepName('ConfigNeInfoPara5G'); + fnToStepName('NeInfoConfigPara5G'); }, }); } } -function fnInit() { +/**获取列表 */ +function fnGetList() { listAllNeInfo({ bandHost: true, }).then(res => { @@ -315,25 +316,26 @@ onMounted(() => { getDict('ne_host_type'), getDict('ne_host_groupId'), getDict('ne_host_authMode'), - ]).then(resArr => { - if (resArr[0].status === 'fulfilled') { - dict.neHostType = resArr[0].value; - } - if (resArr[1].status === 'fulfilled') { - dict.neHostGroupId = resArr[1].value; - } - if (resArr[2].status === 'fulfilled') { - dict.neHostAuthMode = resArr[2].value; - } - }); - fnInit(); + ]) + .then(resArr => { + if (resArr[0].status === 'fulfilled') { + dict.neHostType = resArr[0].value; + } + if (resArr[1].status === 'fulfilled') { + dict.neHostGroupId = resArr[1].value; + } + if (resArr[2].status === 'fulfilled') { + dict.neHostAuthMode = resArr[2].value; + } + }) + .finally(() => { + fnGetList(); + }); });