|
|
|
@ -441,12 +441,8 @@ const EventWarningManagement = () => {
|
|
|
|
key: 'status',
|
|
|
|
key: 'status',
|
|
|
|
width: 100,
|
|
|
|
width: 100,
|
|
|
|
align: 'center',
|
|
|
|
align: 'center',
|
|
|
|
render: (text, record) => {
|
|
|
|
render: (text) => {
|
|
|
|
let color = '#ff9800';
|
|
|
|
let color =""
|
|
|
|
if (record.statusType === 'pending') color = '#36cfc9';
|
|
|
|
|
|
|
|
if (record.statusType === 'processed') color = '#52c41a';
|
|
|
|
|
|
|
|
return <Tag color={color}>{text}</Tag>;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '操作',
|
|
|
|
title: '操作',
|
|
|
|
|