diff --git a/.env.development b/.env.development index e6f0a00c..e8936783 100644 --- a/.env.development +++ b/.env.development @@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network EMS" VITE_APP_CODE = "CN EMS" # 应用版本 -VITE_APP_VERSION = "2.240507.1" +VITE_APP_VERSION = "2.240508.1" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/.env.production b/.env.production index a1d91c66..c082d4e6 100644 --- a/.env.production +++ b/.env.production @@ -11,7 +11,7 @@ VITE_APP_NAME = "Core Network EMS" VITE_APP_CODE = "CN EMS" # 应用版本 -VITE_APP_VERSION = "2.240507.1" +VITE_APP_VERSION = "2.240508.1" # 接口基础URL地址-不带/后缀 VITE_API_BASE_URL = "/omc-api" diff --git a/src/api/neUser/smf.ts b/src/api/neUser/smf.ts index 2bcfbd54..a1221024 100644 --- a/src/api/neUser/smf.ts +++ b/src/api/neUser/smf.ts @@ -28,35 +28,38 @@ export async function listUEInfoBySMF(query: Record) { } // 模拟数据 + // data.code = RESULT_CODE_SUCCESS; // data.rows = [ // { - // imsi: 'imsi-460029004200044', - // msisdn: 'msisdn-12346002044', + // imsi: 'imsi-460002082101038', + // msisdn: 'msisdn-12307550000', // pduSessionInfo: [ // { - // activeTime: '2023-11-29 18:39:06', + // activeTime: '2024-05-08 11:08:22', // dnn: 'ims', - // ipv4: '10.10.48.97', - // ipv6: '', - // pduSessionID: 6, - // ranN3IP: '192.168.8.223', - // sstSD: '1-000001', - // tai: '46000-0001', - // upfN3IP: '192.168.1.161', - // }, - // { - // activeTime: '2023-11-29 18:39:05', - // dnn: 'cmnet', - // ipv4: '10.10.48.62', + // ipv4: '10.10.86.2', // ipv6: '', // pduSessionID: 5, - // ranN3IP: '192.168.8.223', + // ranN3IP: '192.168.5.100', // sstSD: '1-000001', - // tai: '46000-0001', - // upfN3IP: '192.168.1.163', + // tai: '46000-001124', + // upState: 'Active', + // upfN3IP: '192.168.14.201', + // }, + // { + // activeTime: '2024-05-08 11:08:23', + // dnn: 'cmnet', + // ipv4: '10.10.86.201', + // ipv6: '', + // pduSessionID: 6, + // ranN3IP: '192.168.5.100', + // sstSD: '1-000001', + // tai: '46000-001124', + // upState: 'Active', + // upfN3IP: '192.168.14.201', // }, // ], - // ratType: 'EUTRAN', + // ratType: 'NR', // }, // ]; return data; diff --git a/src/constants/ne-constants.ts b/src/constants/ne-constants.ts index 257b7d5c..9e3c64a6 100644 --- a/src/constants/ne-constants.ts +++ b/src/constants/ne-constants.ts @@ -1,7 +1,7 @@ /**网元列表,默认顺序 */ export const NE_TYPE_LIST = [ 'OMC', - 'MME', + 'IMS', 'AMF', 'AUSF', 'UDM', @@ -10,9 +10,8 @@ export const NE_TYPE_LIST = [ 'UPF', 'NRF', 'NSSF', - 'IMS', 'N3IWF', - 'NEF', - 'LMF', + 'MME', 'MOCNGW', + 'SMSC', ]; diff --git a/src/views/configManage/configParamTreeTable/index.vue b/src/views/configManage/configParamTreeTable/index.vue index 97eec590..2f77656f 100644 --- a/src/views/configManage/configParamTreeTable/index.vue +++ b/src/views/configManage/configParamTreeTable/index.vue @@ -43,7 +43,7 @@ let treeState: TreeStateType = reactive({ selectNode: { topDisplay: '' as string, topTag: '' as string, - method: '' as string, + method: [] as string[], // title: '' as string, key: '' as string, @@ -57,7 +57,11 @@ function fnSelectConfigNode(_: any, info: any) { const { title, key, method } = info.node; treeState.selectNode.topDisplay = title; treeState.selectNode.topTag = key; - treeState.selectNode.method = method; + if (method) { + treeState.selectNode.method = method.split(','); + } else { + treeState.selectNode.method = ['post', 'put', 'delete']; + } treeState.selectNode.title = title; treeState.selectNode.key = key; fnActiveConfigNode(key); @@ -1349,7 +1353,9 @@ onMounted(() => { @@ -1363,7 +1369,7 @@ onMounted(() => { { type="primary" @click.prevent="arrayAdd()" size="small" - v-if="treeState.selectNode.method !== 'get'" + v-if="treeState.selectNode.method.includes('post')" > {{ t('common.addText') }} @@ -1388,7 +1394,7 @@ onMounted(() => { @@ -1398,13 +1404,17 @@ onMounted(() => {