Merge branch 'uat-评标室-风险防控-告警处理' of http://10.124.128.2:8888/eshop/fe_service_ebtp_frontend into uat-评标室-风险防控-告警处理

This commit is contained in:
袁帅
2022-08-26 10:22:26 +08:00

View File

@ -133,7 +133,7 @@ const ViewEvalFormModal: React.FC<ViewEvalFormModalProps> = (props) => {
val = key; val = key;
} }
return val; return val;
} }
const getDate = (record: any) => { const getDate = (record: any) => {
alarm.tilte=getTypeValue(record.type); alarm.tilte=getTypeValue(record.type);
@ -147,6 +147,7 @@ const ViewEvalFormModal: React.FC<ViewEvalFormModalProps> = (props) => {
alarm.endDate=record.endDate; alarm.endDate=record.endDate;
alarm.pNumber=record.pnumber; alarm.pNumber=record.pnumber;
alarm.status=record.status; alarm.status=record.status;
alarm.roomStatus=record.roomStatus;
alarm.remark=record.remark; alarm.remark=record.remark;
alarm.attachment=record.attachment; alarm.attachment=record.attachment;
@ -186,7 +187,7 @@ const ViewEvalFormModal: React.FC<ViewEvalFormModalProps> = (props) => {
params["pageSize"]=999; params["pageSize"]=999;
await getEvalRoomPage(params).then((res) => { await getEvalRoomPage(params).then((res) => {
if (res.success == true) { if (res.success == true) {
//setAlarmNumber(res.data.length);
setAlarmList(res.data.records); setAlarmList(res.data.records);
} else { } else {
message.error('系统异常:获取告警数据失败') message.error('系统异常:获取告警数据失败')