diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 9b38c08e..784a35f1 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -415,6 +415,7 @@ export default { tacHelp:'The TAC value is a decimal string, separated by ";" for multiple TAC values.', cellIdHelp:'The CellId value is a hexadecimal string, separated by ";" for multiple CellId values.', areaId:'The areaId value is a hexadecimal string.', + detail:'Detail', } }, dashboard: { diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 88ca301f..880ce0a1 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -419,6 +419,7 @@ export default { tacHelp:'TAC值是十进制字符串,通过";"分隔多个TAC值', cellIdHelp:'CellId值是十六进制字符串,通过";"分隔多个CellId值', areaId:'areaId值是十六进制字符串', + detail:'详情', } }, dashboard: { diff --git a/src/views/cbc/cbe/index.vue b/src/views/cbc/cbe/index.vue index e32efa56..81d15e65 100644 --- a/src/views/cbc/cbe/index.vue +++ b/src/views/cbc/cbe/index.vue @@ -32,6 +32,7 @@ let queryParams = reactive({ /**网元ID */ neId: undefined, status: undefined, + eventName:'', /**记录开始时间 */ startTime: '', /**记录结束时间 */ @@ -132,6 +133,20 @@ let tableColumns: ColumnsType = [ return messageJson.startTime; }, }, + { + title: t('views.cbc.cbe.status'), + dataIndex: 'status', + key: 'status', + align: 'left', + width: 100, + }, + { + title: t('views.cbc.cbe.detail'), + dataIndex: 'detail', + align: 'center', + width: 250, + }, + { title: t('views.cbc.cbe.createdAt'), dataIndex: 'createdAt', @@ -142,13 +157,6 @@ let tableColumns: ColumnsType = [ return parseDateToStr(opt.value / 1000); }, }, - { - title: t('views.cbc.cbe.status'), - dataIndex: 'status', - key: 'status', - align: 'left', - width: 100, - }, { title: t('common.operate'), key: 'cbeId', @@ -693,7 +701,8 @@ function fnRecordSend(record: any) { }); }, onCancel() { - record.status = record.status === '1' ? '0' : '1'; + console.log(record.status); + record.status = record.status === 'ACTIVE' ? 'INACTIVE' : 'ACTIVE'; }, }); } @@ -865,7 +874,7 @@ onMounted(() => { - + { - + + + + + + + { - + { - + { - +