|
|
|
@ -152,8 +152,39 @@ const EventContainer = () => {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '事件描述',
|
|
|
|
title: '事件描述',
|
|
|
|
dataIndex: 'description',
|
|
|
|
dataIndex: 'description'
|
|
|
|
width: '80%'
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '订阅者',
|
|
|
|
|
|
|
|
dataIndex: 'subscribers',
|
|
|
|
|
|
|
|
render: (_, record) => {
|
|
|
|
|
|
|
|
if (record?.subscribers && record?.subscribers.length > 0) {
|
|
|
|
|
|
|
|
return (<div>
|
|
|
|
|
|
|
|
{record?.subscribers.map((item, index) => (
|
|
|
|
|
|
|
|
<div key={index}>{item.appName}</div>
|
|
|
|
|
|
|
|
))}
|
|
|
|
|
|
|
|
</div>);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
return <div>-</div>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '发布者',
|
|
|
|
|
|
|
|
dataIndex: 'publisher',
|
|
|
|
|
|
|
|
render: (_, record) => {
|
|
|
|
|
|
|
|
if (record?.publisher && record?.publisher.length > 0) {
|
|
|
|
|
|
|
|
return (<div>
|
|
|
|
|
|
|
|
{record?.publisher.map((item, index) => (
|
|
|
|
|
|
|
|
<div key={index}>{item.appName}</div>
|
|
|
|
|
|
|
|
))}
|
|
|
|
|
|
|
|
</div>);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
return <div>-</div>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '操作',
|
|
|
|
title: '操作',
|
|
|
|
|