feat: support ims and smsc
This commit is contained in:
@@ -3,6 +3,8 @@ export const NE_TYPE_LIST = [
|
||||
'OMC',
|
||||
'CBC',
|
||||
'MF',
|
||||
'IMS',
|
||||
'SMSC',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user