Showing
1 changed file
with
8 additions
and
6 deletions
@@ -8,13 +8,13 @@ export const columns: BasicColumn[] = [ | @@ -8,13 +8,13 @@ export const columns: BasicColumn[] = [ | ||
8 | { | 8 | { |
9 | title: '状态', | 9 | title: '状态', |
10 | dataIndex: 'deviceState', | 10 | dataIndex: 'deviceState', |
11 | - width: 120, | 11 | + width: 80, |
12 | slots: { customRender: 'deviceState' }, | 12 | slots: { customRender: 'deviceState' }, |
13 | }, | 13 | }, |
14 | { | 14 | { |
15 | title: '设备图片', | 15 | title: '设备图片', |
16 | dataIndex: 'deviceInfo.avatar', | 16 | dataIndex: 'deviceInfo.avatar', |
17 | - width: 120, | 17 | + width: 80, |
18 | slots: { customRender: 'img' }, | 18 | slots: { customRender: 'img' }, |
19 | }, | 19 | }, |
20 | { | 20 | { |
@@ -34,34 +34,36 @@ export const columns: BasicColumn[] = [ | @@ -34,34 +34,36 @@ export const columns: BasicColumn[] = [ | ||
34 | { | 34 | { |
35 | title: '所属产品', | 35 | title: '所属产品', |
36 | dataIndex: 'deviceProfile.name', | 36 | dataIndex: 'deviceProfile.name', |
37 | - width: 160, | 37 | + width: 180, |
38 | slots: { customRender: 'deviceProfile' }, | 38 | slots: { customRender: 'deviceProfile' }, |
39 | ellipsis: true, | 39 | ellipsis: true, |
40 | }, | 40 | }, |
41 | { | 41 | { |
42 | title: '所属组织', | 42 | title: '所属组织', |
43 | dataIndex: 'organizationDTO.name', | 43 | dataIndex: 'organizationDTO.name', |
44 | + width: 100, | ||
44 | }, | 45 | }, |
45 | { | 46 | { |
46 | title: '客户', | 47 | title: '客户', |
47 | dataIndex: 'customerName', | 48 | dataIndex: 'customerName', |
49 | + width: 100, | ||
48 | }, | 50 | }, |
49 | { | 51 | { |
50 | title: '标签', | 52 | title: '标签', |
51 | dataIndex: 'label', | 53 | dataIndex: 'label', |
52 | - width: 180, | 54 | + width: 100, |
53 | }, | 55 | }, |
54 | { | 56 | { |
55 | title: '最后连接时间', | 57 | title: '最后连接时间', |
56 | dataIndex: 'lastOnlineTime', | 58 | dataIndex: 'lastOnlineTime', |
57 | format: (text) => text && formatToDate(text, 'YYYY-MM-DD HH:mm:ss'), | 59 | format: (text) => text && formatToDate(text, 'YYYY-MM-DD HH:mm:ss'), |
58 | - width: 180, | 60 | + width: 160, |
59 | }, | 61 | }, |
60 | { | 62 | { |
61 | title: '最后断开时间', | 63 | title: '最后断开时间', |
62 | dataIndex: 'lastOfflineTime', | 64 | dataIndex: 'lastOfflineTime', |
63 | format: (text) => text && formatToDate(text, 'YYYY-MM-DD HH:mm:ss'), | 65 | format: (text) => text && formatToDate(text, 'YYYY-MM-DD HH:mm:ss'), |
64 | - width: 180, | 66 | + width: 160, |
65 | }, | 67 | }, |
66 | ]; | 68 | ]; |
67 | 69 |