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