|
@@ -78,42 +78,10 @@ export default {
|
|
|
{ title: '序号', dataIndex: 'no', width: 60, align: 'center' },
|
|
|
{ title: '创建时间', dataIndex: 'createDate', width: 100, align: 'center' },
|
|
|
{ title: '设备MAC地址', dataIndex: 'macAddress', width: 100, align: 'center' },
|
|
|
- {
|
|
|
- title: '设备名称',
|
|
|
- dataIndex: 'deviceName',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- customRender: text => {
|
|
|
- return text || '--'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '设备编号',
|
|
|
- dataIndex: 'deviceCode',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- customRender: text => {
|
|
|
- return text || '--'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '设备型号',
|
|
|
- dataIndex: 'deviceModel',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- customRender: text => {
|
|
|
- return text || '--'
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- title: '生产厂家',
|
|
|
- dataIndex: 'manufacturer',
|
|
|
- width: 100,
|
|
|
- align: 'center',
|
|
|
- customRender: text => {
|
|
|
- return text || '--'
|
|
|
- }
|
|
|
- },
|
|
|
+ { title: '设备名称', dataIndex: 'deviceName', width: 100, align: 'center', ellipsis: true, customRender: text => { return text || '--' } },
|
|
|
+ { title: '设备编号', dataIndex: 'deviceCode', width: 100, align: 'center', ellipsis: true, customRender: text => { return text || '--' } },
|
|
|
+ { title: '设备型号', dataIndex: 'deviceModel', width: 100, align: 'center', ellipsis: true, customRender: text => { return text || '--' } },
|
|
|
+ { title: '生产厂家', dataIndex: 'manufacturer', width: 100, align: 'center', ellipsis: true, customRender: text => { return text || '--' } },
|
|
|
{ title: '操作', dataIndex: 'action', width: 100, align: 'center', scopedSlots: { customRender: 'action' } }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|