feat: 接入实训接口调试参数配置

This commit is contained in:
TsMask
2024-07-11 10:23:18 +08:00
parent f3c46976ae
commit 99140f0641
4 changed files with 185 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import { getParamConfigInfo } from '@/api/configManage/configParam';
import { getNeConfigData } from '@/api/ne/neConfig';
import { ref } from 'vue';
export default function useSMFOptions() {
@@ -7,7 +7,11 @@ export default function useSMFOptions() {
/**初始加载upfId */
function initUPFIds() {
getParamConfigInfo('smf', 'upfConfig', '001').then(res => {
getNeConfigData({
neType: 'SMF',
neId: '001',
paramName: 'upfConfig',
}).then(res => {
optionsUPFIds.value = [];
for (const s of res.data) {
optionsUPFIds.value.push({