From dae32997320941e012fa9f2a794042bfddc57e53 Mon Sep 17 00:00:00 2001 From: zhangqinbin <181961702@qq.com> Date: Fri, 26 Aug 2022 09:56:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=84=E5=AE=A1=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BidControlManager/components/ViewEvalFormModal.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewEvalFormModal.tsx b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewEvalFormModal.tsx index db83ed4..8ec87f1 100644 --- a/src/pages/Evaluation/BidControl/BidControlManager/components/ViewEvalFormModal.tsx +++ b/src/pages/Evaluation/BidControl/BidControlManager/components/ViewEvalFormModal.tsx @@ -133,7 +133,7 @@ const ViewEvalFormModal: React.FC = (props) => { val = key; } return val; - } + } const getDate = (record: any) => { alarm.tilte=getTypeValue(record.type); @@ -147,6 +147,7 @@ const ViewEvalFormModal: React.FC = (props) => { alarm.endDate=record.endDate; alarm.pNumber=record.pnumber; alarm.status=record.status; + alarm.roomStatus=record.roomStatus; alarm.remark=record.remark; alarm.attachment=record.attachment; @@ -186,7 +187,7 @@ const ViewEvalFormModal: React.FC = (props) => { params["pageSize"]=999; await getEvalRoomPage(params).then((res) => { if (res.success == true) { - //setAlarmNumber(res.data.length); + setAlarmList(res.data.records); } else { message.error('系统异常:获取告警数据失败')