5.9 修改黑名单等级显示名称

This commit is contained in:
jl-zhoujl2
2022-05-09 15:12:50 +08:00
parent 216d65fe55
commit 9eba94ed19
2 changed files with 2 additions and 12 deletions

View File

@ -68,14 +68,7 @@ const ViewBlacklistFormModal: React.FC<ViewBlacklistFormModalProps> = (props) =>
return a;
}
},
{
title: '黑名单等级', dataIndex: 'lv', render: (_, record) => {
if (record.isBlack == "1") {
return (isEmpty(record.lv) || record.lv == "1") ? '一级' : '二级';
}
return '';
}
},
{ title: '黑名单等级', dataIndex: 'lvName', },
{ title: '黑名单开始时间', dataIndex: 'startTime', },
{ title: '黑名单结束时间', dataIndex: 'endTime', },
{ title: '黑名单期限', dataIndex: 'term', },

View File

@ -32,10 +32,7 @@ const ViewInvoiceFormModal: React.FC<ViewInvoiceFormModalProps> = (props) => {
dataIndex: 'ouName',
}, {
title: '黑名单等级',
dataIndex: 'reserved5',
render: (_: any, record: any) => {
return (isEmpty(record.reserved5) || record.reserved5 == "1") ? '一级' : '二级';
}
dataIndex: 'lvName',
}, {
title: '黑名单开始时间',
dataIndex: 'startTime',