|
@@ -170,32 +170,27 @@ export default class TerminalEditPage extends PureComponent {
|
|
width: '75%',
|
|
width: '75%',
|
|
}];
|
|
}];
|
|
const deviceColumns = [{
|
|
const deviceColumns = [{
|
|
- title: '设备名称',
|
|
|
|
- dataIndex: 'deviceName',
|
|
|
|
- render: text => (text || '-'),
|
|
|
|
- width: '20%',
|
|
|
|
- align: 'center',
|
|
|
|
- }, {
|
|
|
|
title: '设备型号',
|
|
title: '设备型号',
|
|
dataIndex: 'deviceModel',
|
|
dataIndex: 'deviceModel',
|
|
- width: '20%',
|
|
|
|
|
|
+ width: '25%',
|
|
|
|
+ align: 'center',
|
|
|
|
+ }, {
|
|
|
|
+ title: '系统型号',
|
|
|
|
+ dataIndex: 'deviceName',
|
|
|
|
+ render: text => (text || '-'),
|
|
|
|
+ width: '25%',
|
|
align: 'center',
|
|
align: 'center',
|
|
}, {
|
|
}, {
|
|
title: '设备类型',
|
|
title: '设备类型',
|
|
dataIndex: 'deviceType',
|
|
dataIndex: 'deviceType',
|
|
render: text => deviceType[text] || '未知',
|
|
render: text => deviceType[text] || '未知',
|
|
- width: '20%',
|
|
|
|
- align: 'center',
|
|
|
|
- }, {
|
|
|
|
- title: '登录次数',
|
|
|
|
- dataIndex: 'num',
|
|
|
|
- width: '20%',
|
|
|
|
|
|
+ width: '25%',
|
|
align: 'center',
|
|
align: 'center',
|
|
}, {
|
|
}, {
|
|
- title: '登录时间',
|
|
|
|
|
|
+ title: '最后登录时间',
|
|
dataIndex: 'gmtCreated',
|
|
dataIndex: 'gmtCreated',
|
|
render: text => moment(text).format('YYYY-MM-DD HH:mm:ss'),
|
|
render: text => moment(text).format('YYYY-MM-DD HH:mm:ss'),
|
|
- width: '20%',
|
|
|
|
|
|
+ width: '25%',
|
|
align: 'center',
|
|
align: 'center',
|
|
}];
|
|
}];
|
|
|
|
|