diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index dd3766ff..0c36d665 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -405,6 +405,7 @@ export default { warningMessageProfile:'Warning Message Profile', etws:'Earthquake and tsunami early warning system', cmas:'Broadcast emergency alerts to the public via mobile networks', + createdAt:'Create Time', } }, dashboard: { diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 5e72e51d..c4e30ded 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -409,6 +409,7 @@ export default { warningMessageProfile:'预警消息配置', etws:'地震海啸预警系统', cmas:'通过移动网络向公众广播紧急警报', + createdAt:'创建时间', } }, dashboard: { diff --git a/src/views/cbc/cbe/index.vue b/src/views/cbc/cbe/index.vue index 19543ddb..b3ddc772 100644 --- a/src/views/cbc/cbe/index.vue +++ b/src/views/cbc/cbe/index.vue @@ -96,16 +96,6 @@ let tableColumns: ColumnsType = [ return messageJson.eventName; }, }, - { - title: t('views.cbc.cbe.startTime'), - dataIndex: 'messageJson', - align: 'left', - width: 150, - customRender(opt) { - const messageJson = opt.value; - return messageJson.startTime; - }, - }, { title: t('views.cbc.cbe.repetitionPeriod'), dataIndex: 'messageJson', @@ -126,6 +116,26 @@ let tableColumns: ColumnsType = [ return messageJson.numOfBcast; }, }, + { + title: t('views.cbc.cbe.startTime'), + dataIndex: 'messageJson', + align: 'left', + width: 250, + customRender(opt) { + const messageJson = opt.value; + return messageJson.startTime; + }, + }, + { + title: t('views.cbc.cbe.createdAt'), + dataIndex: 'createdAt', + align: 'center', + width: 250, + customRender(opt) { + if (!opt.value) return ''; + return parseDateToStr(opt.value / 1000); + }, + }, { title: t('views.cbc.cbe.status'), dataIndex: 'status', @@ -636,7 +646,6 @@ function fnRecordSend(record: any) { }); } - function fnRecordDelete(id: string) { const neId = queryParams.neId; @@ -825,7 +834,7 @@ onMounted(() => { { - {{t('views.cbc.cbe.messageIdProfile')}} + + {{ t('views.cbc.cbe.messageIdProfile') }} + @@ -1101,8 +1112,12 @@ onMounted(() => { v-model:value="modalState.from.messageIdProfile.msgPWSType" @change="pwsTypeChange" > - CMAS({{ t('views.cbc.cbe.cmas') }}) - ETWS({{ t('views.cbc.cbe.etws') }}) + CMAS({{ t('views.cbc.cbe.cmas') }}) + ETWS({{ t('views.cbc.cbe.etws') }}) @@ -1129,7 +1144,9 @@ onMounted(() => { - {{t('views.cbc.cbe.serialNumProfile')}} + + {{ t('views.cbc.cbe.serialNumProfile') }} + @@ -1161,7 +1178,9 @@ onMounted(() => { - {{t('views.cbc.cbe.warningTypeProfile')}} + + {{ t('views.cbc.cbe.warningTypeProfile') }} + @@ -1219,7 +1238,9 @@ onMounted(() => { - {{t('views.cbc.cbe.warningMessageProfile')}} + + {{ t('views.cbc.cbe.warningMessageProfile') }} +