新增创建时间

This commit is contained in:
lai
2025-07-09 16:27:39 +08:00
parent db20ced6f3
commit 1a46b1948b
3 changed files with 41 additions and 18 deletions

View File

@@ -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: {

View File

@@ -409,6 +409,7 @@ export default {
warningMessageProfile:'预警消息配置',
etws:'地震海啸预警系统',
cmas:'通过移动网络向公众广播紧急警报',
createdAt:'创建时间',
}
},
dashboard: {

View File

@@ -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(() => {
<a-col :lg="6" :md="12" :xs="24">
<a-form-item
:label="t('views.cbc.cbe.startTime')"
:label=" t('views.cbc.cbe.createdAt')"
name="queryRangePicker"
>
<a-range-picker
@@ -1086,7 +1095,9 @@ onMounted(() => {
</a-row>
<a-row> </a-row>
<a-divider orientation="left"> {{t('views.cbc.cbe.messageIdProfile')}} </a-divider>
<a-divider orientation="left">
{{ t('views.cbc.cbe.messageIdProfile') }}
</a-divider>
<a-row>
<a-col :lg="24" :md="24" :xs="24">
@@ -1101,8 +1112,12 @@ onMounted(() => {
v-model:value="modalState.from.messageIdProfile.msgPWSType"
@change="pwsTypeChange"
>
<a-select-option value="CMAS">CMAS({{ t('views.cbc.cbe.cmas') }})</a-select-option>
<a-select-option value="ETWS">ETWS({{ t('views.cbc.cbe.etws') }})</a-select-option>
<a-select-option value="CMAS"
>CMAS({{ t('views.cbc.cbe.cmas') }})</a-select-option
>
<a-select-option value="ETWS"
>ETWS({{ t('views.cbc.cbe.etws') }})</a-select-option
>
</a-select>
</a-form-item>
</a-col>
@@ -1129,7 +1144,9 @@ onMounted(() => {
</a-col>
</a-row>
<a-divider orientation="left"> {{t('views.cbc.cbe.serialNumProfile')}} </a-divider>
<a-divider orientation="left">
{{ t('views.cbc.cbe.serialNumProfile') }}
</a-divider>
<a-row>
<a-col :lg="12" :md="12" :xs="24">
@@ -1161,7 +1178,9 @@ onMounted(() => {
</a-col>
</a-row>
<a-divider orientation="left"> {{t('views.cbc.cbe.warningTypeProfile')}} </a-divider>
<a-divider orientation="left">
{{ t('views.cbc.cbe.warningTypeProfile') }}
</a-divider>
<a-row>
<a-col :lg="12" :md="12" :xs="24">
@@ -1219,7 +1238,9 @@ onMounted(() => {
</a-col>
</a-row>
<a-divider orientation="left"> {{t('views.cbc.cbe.warningMessageProfile')}} </a-divider>
<a-divider orientation="left">
{{ t('views.cbc.cbe.warningMessageProfile') }}
</a-divider>
<a-row>
<a-col :lg="12" :md="12" :xs="24">