|
|
@ -255,7 +255,7 @@ const MdwMessage = () => { |
|
|
|
] as ProColumns[] |
|
|
|
}, [search, currentTemplate]) |
|
|
|
|
|
|
|
const expandedRowRender = (record) => { |
|
|
|
const expandedRowRender = (record, index) => { |
|
|
|
const expandedColumns: TableColumnsType = [ |
|
|
|
{ |
|
|
|
title: "收件人", |
|
|
@ -266,8 +266,8 @@ const MdwMessage = () => { |
|
|
|
dataIndex: 'status', |
|
|
|
render: (_text, record) => { |
|
|
|
return <Badge |
|
|
|
status={['default', 'processing', 'success', 'error'][record.status] as any} |
|
|
|
text={['未处理', '发送中', '发送成功', '发送失败'][record.status]}/> |
|
|
|
status={['default', 'success', 'error'][record.status] as any} |
|
|
|
text={['未处理', '发送成功', '发送失败'][record.status]}/> |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|