feat: support ims and smsc

This commit is contained in:
zhangsz
2025-06-20 18:43:26 +08:00
parent c1fe8cd4c5
commit e53328176c
4 changed files with 7 additions and 5 deletions

View File

@@ -3,6 +3,8 @@ export const NE_TYPE_LIST = [
'OMC',
'CBC',
'MF',
'IMS',
'SMSC',
];
/**

View File

@@ -109,7 +109,7 @@ let modalState: ModalStateType = reactive({
ip: '',
port: 33030,
pvFlag: 'PNF',
rmUid: '4400HXMF001',
rmUid: '4400PSAPMF0001',
neAddress: '',
dn: '',
vendorName: '',
@@ -321,14 +321,14 @@ function fnNeTypeChange(v: any) {
});
}
modalState.from.rmUid = `4400HX${v}${modalState.from.neId}`; // 4400HX1MF001
modalState.from.rmUid = `4400PSAP${v}${modalState.from.neId}`; // 4400HX1MF001
}
/**表单修改网元neId */
function fnNeIdChange(e: any) {
const v = e.target.value;
if (v.length < 1) return;
modalState.from.rmUid = `4400HX${modalState.from.neType}${v}`; // 4400HX1MF001
modalState.from.rmUid = `4400PSAP${modalState.from.neType}${v}`; // 4400HX1MF001
}
/**表单修改网元IP */

View File

@@ -187,7 +187,7 @@ function fnModalOk() {
}
},
onOk: () => {
from.rmUid = `4400HX${from.neType}${from.neId}`; // 4400HX1AMF001
from.rmUid = `4400PSAP${from.neType}${from.neId}`; // 4400HX1AMF001
from.neName = `${from.neType}_${from.neId}`; // AMF_001
const hide = message.loading(t('common.loading'), 0);
const result =

View File

@@ -300,7 +300,7 @@ function fnModalVisibleByEdit(record?: any) {
function fnModalOk() {
modalState.confirmLoading = true;
const from = toRaw(modalState.from);
from.rmUid = `4400HX${from.neType}${from.neId}`; // 4400HX1AMF001
from.rmUid = `4400PSAP${from.neType}${from.neId}`; // 4400HX1AMF001
from.neName = `${from.neType}_${from.neId}`; // AMF_001
const result = from.id ? updateNeInfo(from) : addNeInfo(from);
const hide = message.loading(t('common.loading'), 0);