diff --git a/src/views/configManage/neManage/index.vue b/src/views/configManage/neManage/index.vue index 1b998ee2..cef04e56 100644 --- a/src/views/configManage/neManage/index.vue +++ b/src/views/configManage/neManage/index.vue @@ -26,6 +26,8 @@ import TableColumnsDnd from '@/components/TableColumnsDnd/index.vue'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import { NE_TYPE_LIST } from '@/constants/ne-constants'; import useNeInfoStore from '@/store/modules/neinfo'; +import useLockedStore from '@/store/modules/locked'; +const lockedStore = useLockedStore(); const { t } = useI18n(); /**表格所需option */ @@ -546,6 +548,11 @@ function fnRecordRestart(row: Record) { restartNf(row) .then(res => { if (res.code === RESULT_CODE_SUCCESS) { + // OMC自升级 + if (row.neType.toLowerCase() === 'omc') { + lockedStore.fnLock('reload'); + return; + } message.success({ content: t('common.msgSuccess', { msg: t('views.configManage.neManage.restart'), @@ -927,11 +934,17 @@ onMounted(() => { {{ t('views.configManage.neManage.import') }} - + {{ t('views.configManage.neManage.start') }} - + {{ t('views.configManage.neManage.stop') }}