增加 新增网元400时异常处理
This commit is contained in:
@@ -570,6 +570,9 @@ export default {
|
|||||||
ims: {
|
ims: {
|
||||||
neType: 'IMS Object',
|
neType: 'IMS Object',
|
||||||
},
|
},
|
||||||
|
nssf:{
|
||||||
|
neType: 'NSSF Object',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
perfManage: {
|
perfManage: {
|
||||||
taskManage:{
|
taskManage:{
|
||||||
|
|||||||
@@ -570,6 +570,9 @@ export default {
|
|||||||
ims: {
|
ims: {
|
||||||
neType: 'IMS网元对象',
|
neType: 'IMS网元对象',
|
||||||
},
|
},
|
||||||
|
nssf:{
|
||||||
|
neType: 'NSSF网元对象',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
perfManage: {
|
perfManage: {
|
||||||
taskManage:{
|
taskManage:{
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ function fnModalOk() {
|
|||||||
const hide = message.loading({ content: t('common.loading') });
|
const hide = message.loading({ content: t('common.loading') });
|
||||||
result
|
result
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS&&(typeof res.error === 'undefined')) {
|
if (res.code === RESULT_CODE_SUCCESS&&(typeof res.data.error === 'undefined')) {
|
||||||
message.success({
|
message.success({
|
||||||
content: t('common.msgSuccess', { msg: modalState.title }),
|
content: t('common.msgSuccess', { msg: modalState.title }),
|
||||||
duration: 3,
|
duration: 3,
|
||||||
@@ -362,7 +362,7 @@ function fnModalOk() {
|
|||||||
fnGetList(1);
|
fnGetList(1);
|
||||||
} else {
|
} else {
|
||||||
message.error({
|
message.error({
|
||||||
content: `${res.msg}`,
|
content: `${t('views.configManage.configParam.addFail')}`,
|
||||||
duration: 3,
|
duration: 3,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user