From 9eba94ed191714ff4f486d476a519dd4f9d5ab45 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Mon, 9 May 2022 15:12:50 +0800 Subject: [PATCH] =?UTF-8?q?5.9=20=E4=BF=AE=E6=94=B9=E9=BB=91=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E7=AD=89=E7=BA=A7=E6=98=BE=E7=A4=BA=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/ViewBlacklistFormModal.tsx | 9 +-------- .../components/ViewInvoiceFormModal.tsx | 5 +---- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx index 6203217..05d3c99 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewBlacklistFormModal.tsx @@ -68,14 +68,7 @@ const ViewBlacklistFormModal: React.FC = (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', }, diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx index 951eb09..916669b 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewInvoiceFormModal.tsx @@ -32,10 +32,7 @@ const ViewInvoiceFormModal: React.FC = (props) => { dataIndex: 'ouName', }, { title: '黑名单等级', - dataIndex: 'reserved5', - render: (_: any, record: any) => { - return (isEmpty(record.reserved5) || record.reserved5 == "1") ? '一级' : '二级'; - } + dataIndex: 'lvName', }, { title: '黑名单开始时间', dataIndex: 'startTime',