feat: support ims and smsc
This commit is contained in:
@@ -3,6 +3,8 @@ export const NE_TYPE_LIST = [
|
|||||||
'OMC',
|
'OMC',
|
||||||
'CBC',
|
'CBC',
|
||||||
'MF',
|
'MF',
|
||||||
|
'IMS',
|
||||||
|
'SMSC',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ let modalState: ModalStateType = reactive({
|
|||||||
ip: '',
|
ip: '',
|
||||||
port: 33030,
|
port: 33030,
|
||||||
pvFlag: 'PNF',
|
pvFlag: 'PNF',
|
||||||
rmUid: '4400HXMF001',
|
rmUid: '4400PSAPMF0001',
|
||||||
neAddress: '',
|
neAddress: '',
|
||||||
dn: '',
|
dn: '',
|
||||||
vendorName: '',
|
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 */
|
/**表单修改网元neId */
|
||||||
function fnNeIdChange(e: any) {
|
function fnNeIdChange(e: any) {
|
||||||
const v = e.target.value;
|
const v = e.target.value;
|
||||||
if (v.length < 1) return;
|
if (v.length < 1) return;
|
||||||
modalState.from.rmUid = `4400HX${modalState.from.neType}${v}`; // 4400HX1MF001
|
modalState.from.rmUid = `4400PSAP${modalState.from.neType}${v}`; // 4400HX1MF001
|
||||||
}
|
}
|
||||||
|
|
||||||
/**表单修改网元IP */
|
/**表单修改网元IP */
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ function fnModalOk() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onOk: () => {
|
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
|
from.neName = `${from.neType}_${from.neId}`; // AMF_001
|
||||||
const hide = message.loading(t('common.loading'), 0);
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
const result =
|
const result =
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ function fnModalVisibleByEdit(record?: any) {
|
|||||||
function fnModalOk() {
|
function fnModalOk() {
|
||||||
modalState.confirmLoading = true;
|
modalState.confirmLoading = true;
|
||||||
const from = toRaw(modalState.from);
|
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
|
from.neName = `${from.neType}_${from.neId}`; // AMF_001
|
||||||
const result = from.id ? updateNeInfo(from) : addNeInfo(from);
|
const result = from.id ? updateNeInfo(from) : addNeInfo(from);
|
||||||
const hide = message.loading(t('common.loading'), 0);
|
const hide = message.loading(t('common.loading'), 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user