diff --git a/src/views/ne/neConfPara5G/index.vue b/src/views/ne/neConfPara5G/index.vue index bcc8c072..9a2ec169 100644 --- a/src/views/ne/neConfPara5G/index.vue +++ b/src/views/ne/neConfPara5G/index.vue @@ -64,7 +64,6 @@ function fnModalOk() { if (state.confirmLoading) return; state.confirmLoading = true; savePara5GFile({ - fileType: 'yaml', content: toRaw(state.from), syncNe: state.sync ? state.syncNe : [], }) @@ -96,7 +95,7 @@ function fnSaveData() { function fnGetData() { if (state.confirmLoading) return; state.confirmLoading = true; - getPara5GFilee('yaml') + getPara5GFilee() .then(res => { if (typeof res.data === 'object') { Object.assign(state.from, res.data); diff --git a/src/views/ne/neQuickSetup/components/StepNeInfo.vue b/src/views/ne/neQuickSetup/components/StepNeInfo.vue index b3af6a91..39ee8db2 100644 --- a/src/views/ne/neQuickSetup/components/StepNeInfo.vue +++ b/src/views/ne/neQuickSetup/components/StepNeInfo.vue @@ -4,7 +4,11 @@ import { message, Form, Modal } from 'ant-design-vue/lib'; import useI18n from '@/hooks/useI18n'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import useNeInfoStore from '@/store/modules/neinfo'; -import { addNeInfo, updateNeInfo, getTypeAndIDNeInfo } from '@/api/ne/neInfo'; +import { + addNeInfo, + updateNeInfo, + getNeInfoByTypeAndIDNe, +} from '@/api/ne/neInfo'; import { NE_TYPE_LIST } from '@/constants/ne-constants'; import { stepState } from '../hooks/useStep'; const { t } = useI18n(); @@ -115,7 +119,7 @@ function fnNeInfo() { .validate() .then(e => { modalState.confirmLoading = true; - return getTypeAndIDNeInfo(from.neType, from.neId); + return getNeInfoByTypeAndIDNe(from.neType, from.neId); }) .then(res => { if (res.code === RESULT_CODE_SUCCESS) {