|
|
|
@ -138,10 +138,10 @@ const Dashboard = () => {
|
|
|
|
|
const residentRows = res.data.residentJudgeList.map((d, idx) => ({ ...d, rowId: idx + 1 }));
|
|
|
|
|
setMsEdate2(residentRows[0].msEdate);
|
|
|
|
|
setTotalCount2(residentRows.count);
|
|
|
|
|
setRowsState2((prevState) => ({ ...prevState, rows: parkRows }));
|
|
|
|
|
setRowsState2((prevState) => ({ ...prevState, rows: residentRows }));
|
|
|
|
|
|
|
|
|
|
const disabledRows = res.data.disabledJudgeList.map((d, idx) => ({ ...d, rowId: idx + 1 }));
|
|
|
|
|
setMsEdate3(residentRows[0].msEdate);
|
|
|
|
|
setMsEdate3(disabledRows[0].msEdate);
|
|
|
|
|
setTotalCount3(disabledRows.count);
|
|
|
|
|
setRowsState3((prevState) => ({ ...prevState, rows: disabledRows }));
|
|
|
|
|
}
|
|
|
|
|