|
...
|
...
|
@@ -15,28 +15,12 @@ export const columns: BasicColumn[] = [ |
|
15
|
15
|
},
|
|
16
|
16
|
{
|
|
17
|
17
|
title: '消息类型',
|
|
18
|
|
- dataIndex: 'messageType',
|
|
19
|
|
- format: (_, record: Recordable) => {
|
|
20
|
|
- return record.messageType === 'PHONE_MESSAGE'
|
|
21
|
|
- ? '短信'
|
|
22
|
|
- : record.type === 'DING_TALK_MESSAGE'
|
|
23
|
|
- ? '钉钉'
|
|
24
|
|
- : '邮件';
|
|
25
|
|
- },
|
|
|
18
|
+ dataIndex: 'messageTypeDictText',
|
|
26
|
19
|
width: 200,
|
|
27
|
20
|
},
|
|
28
|
21
|
{
|
|
29
|
22
|
title: '平台类型',
|
|
30
|
|
- dataIndex: 'platformType',
|
|
31
|
|
- format: (_, record: Recordable) => {
|
|
32
|
|
- return record.messageType === MessageTypeEnum.EMAIL_MESSAGE
|
|
33
|
|
- ? '无'
|
|
34
|
|
- : record.messageType === MessageTypeEnum.PHONE_MESSAGE
|
|
35
|
|
- ? record.platformType === 'ALI_CLOUD'
|
|
36
|
|
- ? '阿里云平台'
|
|
37
|
|
- : '腾讯云平台'
|
|
38
|
|
- : '无';
|
|
39
|
|
- },
|
|
|
23
|
+ dataIndex: 'platformTypeDictText',
|
|
40
|
24
|
width: 180,
|
|
41
|
25
|
},
|
|
42
|
26
|
{
|
...
|
...
|
|