feat():数据接收中心数据修改
parent
c5efbf9143
commit
e8de5a2337
|
|
@ -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 => (<span>{moment().format("YYYY-MM-DD HH:mm:ss")}</span>)
|
||||
|
||||
},
|
||||
{ title: '数据类型', key: '数据类型', dataIndex: '数据类型', width: 120, align: 'center' },
|
||||
{ title: '测值', key: '测值', dataIndex: '测值', width: 120, align: 'center' },
|
||||
{ title: '站点状态', key: '站点状态', dataIndex: '站点状态', width: 120, align: 'center', render: val => <Badge text={val ? '在线' : '离线'} color={val ? 'green' : 'red'}></Badge> },
|
||||
|
|
|
|||
|
|
@ -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 => (<span>{moment().format("YYYY-MM-DD HH:mm:ss")}</span>)
|
||||
},
|
||||
{
|
||||
title: '接收时间', key: '接收时间', dataIndex: '接收时间', width: 120, align: 'center',
|
||||
render: rec => (<span>{moment().format("YYYY-MM-DD HH:mm:ss")}</span>)
|
||||
|
||||
},
|
||||
{ title: '归属协议', key: '归属协议', dataIndex: '归属协议', width: 120, align: 'center' },
|
||||
|
||||
// {
|
||||
|
|
|
|||
Loading…
Reference in New Issue