feat: 심의등록 저장 반영

main
minuk926 3 years ago
parent 8ccd9eb0a5
commit ef2bebe5cb

@ -93,6 +93,9 @@ const ParkingRegister = () => {
const submitParkingSimsa = (params) => {
const param = {
...params,
rcIrTransfer,
rcSeq1,
rcSeq2,
rcCodes: selection.map((d) => rowsStatus.rows[d - 1].rcCode)
};
alert(JSON.stringify(param));
@ -101,10 +104,10 @@ const ParkingRegister = () => {
opstBizService.saveSimsaTargetList(param).then((response) => {
console.log(response);
// if (response && response.data) {
// setTotalCount(response.count);
// setRowsState((prevState) => ({ ...prevState, rows: response.data }));
// }
if (response && response.data) {
setTotalCount(response.count);
setRowsStatus((prevRows) => ({ ...prevRows, rows: response.data }));
}
});
};

Loading…
Cancel
Save