feat:前世今生修改时间显示,增加用户实名字段

This commit is contained in:
yangqingyuan
2024-08-08 16:30:11 +08:00
parent ee6dcc3557
commit aa26710d9c

View File

@@ -54,7 +54,7 @@
</template>
<template v-if="column.key === 'createTime'">
<a-tooltip :title="`${toDateString(record.createTime)}`">
{{ timeAgo(record.createTime) }}
{{ toDateString(record.createTime) }}
</a-tooltip>
</template>
<template v-if="column.key === 'action'">
@@ -125,14 +125,22 @@
title: '设备编号',
dataIndex: 'equipmentCode',
key: 'equipmentCode',
width: 180,
width: 150,
fixed: 'left'
},
{
title: '操作人',
dataIndex: 'nickname',
key: 'nickname',
width: 180,
width: 120,
ellipsis: true,
fixed: 'left'
},
{
title: '用户实名',
dataIndex: 'realName',
key: 'realName',
width: 120,
ellipsis: true,
fixed: 'left'
},
@@ -148,7 +156,7 @@
dataIndex: 'eventType',
key: 'eventType',
sorter: true,
width: 180,
width: 120,
ellipsis: true
},
{
@@ -168,7 +176,7 @@
dataIndex: 'createTime',
key: 'createTime',
sorter: true,
width: 280,
width: 200,
customRender: ({ text }) => toDateString(text)
}
// {