增加评审状态

This commit is contained in:
zhangqinbin
2022-08-26 09:56:17 +08:00
parent 9a0c304941
commit dae3299732

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('系统异常:获取告警数据失败')