feat: 심의등록 저장 반영

main
minuk926 3 years ago
parent 8ccd9eb0a5
commit ef2bebe5cb

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

Loading…
Cancel
Save