diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 6b11b238..1956a2e0 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -586,17 +586,21 @@ export default { neType: 'NE Type', neTypePlease: "Please select network element type", neId: 'NE ID', - serialNum: 'Serial Num', - expiryDate: 'Expiry Date', - }, - neInfo: { - version: "Version", + rmUid: 'Resource Unique ID', serialNum: 'Serial Number', expiryDate: 'Expiry Date', + normalcy: 'Normal', + exceptions: 'Abnormal', + restart: 'Restart', + start: 'Start', + stop: 'Stop', + reload: 'Reload', + oam: 'OAM', + }, + neInfo: { + version: "Version", state: "State", - serviceState: "Service Status", - normalcy: "Normal", - exceptions: "Abnormal", + serviceState: "Service Status", info: 'Status Message', resourceInfo: 'Resource Situation', sysMem: "SYS Mem", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 535803f9..16f6ff7e 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -586,17 +586,21 @@ export default { neType: '网元类型', neTypePlease: "请选择网元类型", neId: '网元内部标识', - serialNum: '序列号', - expiryDate: '许可证到期时间', - }, - neInfo: { - version: "网元版本", + rmUid: '资源唯一标识', serialNum: '序列号', expiryDate: '许可证到期日期', + normalcy: '正常', + exceptions: '异常', + restart: '重启', + start: '启动', + stop: '停止', + reload: '重载', + oam: 'OAM', + }, + neInfo: { + version: "网元版本", state: "网元状态", - serviceState: "服务状态", - normalcy: "正常", - exceptions: "异常", + serviceState: "服务状态", info: '状态信息', resourceInfo: '资源情况', sysMem: "系统内存", diff --git a/src/views/ne/neInfo/index.vue b/src/views/ne/neInfo/index.vue index e47717ab..b4cc352e 100644 --- a/src/views/ne/neInfo/index.vue +++ b/src/views/ne/neInfo/index.vue @@ -82,19 +82,19 @@ let tableState: TabeStateType = reactive({ /**表格字段列 */ let tableColumns: ColumnsType = [ { - title: t('views.configManage.neManage.neType'), + title: t('views.ne.common.neType'), dataIndex: 'neType', align: 'left', width: 100, }, { - title: t('views.configManage.neManage.neId'), + title: t('views.ne.common.neId'), dataIndex: 'neId', align: 'left', width: 100, }, { - title: t('views.configManage.neManage.uid'), + title: t('views.ne.common.rmUid'), dataIndex: 'rmUid', align: 'left', width: 150, @@ -415,7 +415,7 @@ onMounted(() => { { { - {{ t('views.configManage.neManage.start') }} + {{ t('views.ne.common.start') }} - {{ t('views.configManage.neManage.stop') }} + {{ t('views.ne.common.stop') }} { " > - {{ t('views.configManage.neManage.reload') }} + {{ t('views.ne.common.reload') }} @@ -588,7 +588,7 @@ onMounted(() => { - OAM + {{ t('views.ne.common.oam') }} @@ -610,8 +610,8 @@ onMounted(() => { > {{ record.serverState.online - ? t('views.ne.neInfo.normalcy') - : t('views.ne.neInfo.exceptions') + ? t('views.ne.common.normalcy') + : t('views.ne.common.exceptions') }} @@ -620,11 +620,11 @@ onMounted(() => { {{ record.serverState.version }}
- {{ t('views.ne.neInfo.serialNum') }}: + {{ t('views.ne.common.serialNum') }}: {{ record.serverState.sn }}
- {{ t('views.ne.neInfo.expiryDate') }}: + {{ t('views.ne.common.expiryDate') }}: {{ record.serverState.expire }}