diff --git a/src/views/Home/DataTable.tsx b/src/views/Home/DataTable.tsx
index 3c7fa52..de26bc3 100644
--- a/src/views/Home/DataTable.tsx
+++ b/src/views/Home/DataTable.tsx
@@ -20,7 +20,11 @@ const DataTable: React.FC<{
{ title: '归属协议', key: '归属协议', dataIndex: '归属协议', width: 120, align: 'center' },
{ title: '测站编码', key: '测站编码', dataIndex: '测站编码', width: 120, align: 'center' },
{ title: '站名', key: '站名', dataIndex: '站名', width: 120, align: 'center' },
- { title: '最后数据时间', key: '最后数据时间', dataIndex: '最后数据时间', width: 120, align: 'center' },
+ {
+ title: '最后数据时间', key: '最后数据时间', dataIndex: '最后数据时间', width: 120, align: 'center',
+ render: rec => ({moment().format("YYYY-MM-DD HH:mm:ss")})
+
+ },
{ title: '数据类型', key: '数据类型', dataIndex: '数据类型', width: 120, align: 'center' },
{ title: '测值', key: '测值', dataIndex: '测值', width: 120, align: 'center' },
{ title: '站点状态', key: '站点状态', dataIndex: '站点状态', width: 120, align: 'center', render: val => },
diff --git a/src/views/Messagedata/DataTable.tsx b/src/views/Messagedata/DataTable.tsx
index 61172d6..d937d1c 100644
--- a/src/views/Messagedata/DataTable.tsx
+++ b/src/views/Messagedata/DataTable.tsx
@@ -20,8 +20,15 @@ const [myForm] = Form.useForm(); // 可以获取表单元素实例
{ title: '序号', key: 'id', align: 'center', width: 80, render: (_1: any, _2: any, index: number) => ctx.pager.noRender(index) },
{ title: '站名', key: '站名', dataIndex: '站名', width: 120, align: 'center' },
{ title: '测站编码', key: '测站编码', dataIndex: '测站编码', width: 120, align: 'center' },
- { title: '发送时间', key: '发送时间', dataIndex: '发送时间', width: 120, align: 'center' },
- { title: '接收时间', key: '接收时间', dataIndex: '接收时间', width: 120, align: 'center' },
+ {
+ title: '发送时间', key: '发送时间', dataIndex: '发送时间', width: 120, align: 'center',
+ render: rec => ({moment().format("YYYY-MM-DD HH:mm:ss")})
+ },
+ {
+ title: '接收时间', key: '接收时间', dataIndex: '接收时间', width: 120, align: 'center',
+ render: rec => ({moment().format("YYYY-MM-DD HH:mm:ss")})
+
+ },
{ title: '归属协议', key: '归属协议', dataIndex: '归属协议', width: 120, align: 'center' },
// {