From 9e67e0258e69ad6e8faf93c61bc16524c410ea54 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Wed, 16 Mar 2022 15:06:29 +0800 Subject: [PATCH] =?UTF-8?q?3.16=20=E4=BB=A3=E7=90=86=E3=80=81=E4=BE=9B?= =?UTF-8?q?=E5=BA=94=E5=95=86=E6=8F=90=E7=96=91=E5=A2=9E=E5=8A=A0=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D=E9=99=84=E4=BB=B6=EF=BC=8C=E5=88=97=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=A4=E4=B8=AA=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/MentionDoubtReply.tsx | 60 ++++++++++--------- .../SupplierQuestionsOrObjections.tsx | 48 ++++++--------- 2 files changed, 48 insertions(+), 60 deletions(-) diff --git a/src/pages/Tender/ProjectManager/MentionDoubtReply/components/MentionDoubtReply.tsx b/src/pages/Tender/ProjectManager/MentionDoubtReply/components/MentionDoubtReply.tsx index 14aeb33..31c7972 100644 --- a/src/pages/Tender/ProjectManager/MentionDoubtReply/components/MentionDoubtReply.tsx +++ b/src/pages/Tender/ProjectManager/MentionDoubtReply/components/MentionDoubtReply.tsx @@ -55,6 +55,8 @@ const MentionDoubtReply: React.FC<{}> = () => { const actionRef = useRef(); const [bid, setBid] = useState(''); const [dissentDatasetId, setDissentDatasetId] = useState(''); + //提疑回复材料附件id + const [resultsDatasetId, setResultsDatasetId] = useState(''); //选择标段 const [packageIdSelect, setPackageIdSelect] = useState([]); //所有流程名 @@ -94,6 +96,16 @@ const MentionDoubtReply: React.FC<{}> = () => { title: flowName[moduleName.section] + '名称', dataIndex: 'packageName', }, + { + title: '提疑时间', + dataIndex: 'dissentSendTime', + width: 120 + }, + { + title: '提疑回复时间', + dataIndex: 'proceedingResultsTime', + width: 120 + }, { title: '联系人', dataIndex: 'contactsName', @@ -115,12 +127,12 @@ const MentionDoubtReply: React.FC<{}> = () => { valueType: 'option', render: (_: any, record: any) => [ String(record.dissentStatus) === '3' ? - [ - , - ] : - [ - , - ] + [ + , + ] : + [ + , + ] // ] }, @@ -134,9 +146,10 @@ const MentionDoubtReply: React.FC<{}> = () => { setWhetherReadonly(true); setBid(data.resultsDatasetId); setDissentDatasetId(data.dissentDatasetId); + setResultsDatasetId(data.resultsDatasetId); let packageList: any = []; let packageArr = data.packageName.split(","); - packageArr.map((item: any, index: any)=>{ + packageArr.map((item: any, index: any) => { packageList.push({ "bidSectName": item, "id": index @@ -153,9 +166,10 @@ const MentionDoubtReply: React.FC<{}> = () => { setVisible(true); setBid(data.resultsDatasetId); setDissentDatasetId(data.dissentDatasetId); + setResultsDatasetId(data.resultsDatasetId); let packageList: any = []; let packageArr = data.packageName.split(","); - packageArr.map((item: any, index: any)=>{ + packageArr.map((item: any, index: any) => { packageList.push({ "bidSectName": item, "id": index @@ -239,7 +253,7 @@ const MentionDoubtReply: React.FC<{}> = () => { label="证明材料附件" name="dissentDatasetId" > - + @@ -256,14 +270,14 @@ const MentionDoubtReply: React.FC<{}> = () => { @@ -285,26 +299,14 @@ const MentionDoubtReply: React.FC<{}> = () => { - {/* - - - - - */} + + ) @@ -345,7 +347,7 @@ const MentionDoubtReply: React.FC<{}> = () => { } return ( -
+
= () => { //所有流程名 const flowName = getAllFlowNameByRoomType(bidMethodDict, roomType); // getbidQualification - //回复附件id + //提疑回复材料附件id const [resultsDatasetId, setResultsDatasetId] = useState(''); const [whetherToDisplayTheReply, setWhetherToDisplayTheReply] = useState(false); const [bidSectionIsOptional, setBidSectionIsOptional] = useState([]); @@ -115,6 +115,16 @@ const SupplierQuestionsOrObjections: React.FC<{}> = () => { title: flowName[moduleName.section] + '名称', dataIndex: 'packageName', }, + { + title: '提疑时间', + dataIndex: 'dissentSendTime', + width: 120 + }, + { + title: '提疑回复时间', + dataIndex: 'proceedingResultsTime', + width: 120 + }, { title: '联系人', dataIndex: 'contactsName', @@ -442,38 +452,14 @@ const SupplierQuestionsOrObjections: React.FC<{}> = () => { > + + + : null } - {/* { - whetherToDisplayTheReply && ( - <> - - - - - - - - - - - - - - ) - } */}