feat: 주정차의견진술 자료 등록 반영

소스 정리
main
minuk926 3 years ago
parent 6c6a561992
commit ef2476b74f

@ -7,8 +7,8 @@ import MainCard from 'ui-component/cards/MainCard';
// project imports
import MuiDataGrid from 'views/form/MuiDataGrid';
import CmmModal from '../../form/Modal/CmmModal';
import { getResidents, saveResidentData } from '../../../apis/resident';
import CmmModal from 'views/form/Modal/CmmModal';
import { getResidents, saveResidentData } from 'apis/resident';
import SaveResidentDataForm from './SaveResidentDataForm';
const ResidentDataReview = () => {
@ -71,9 +71,8 @@ const ResidentDataReview = () => {
const handleSaveResident = (payload) => {
saveResidentData(payload).then(() => {
// savePublicBoard(payload).then(() => {
// search();
// setOpen(false);
search();
setOpen(false);
});
};

@ -4,18 +4,13 @@ import PropTypes from 'prop-types';
import NumberFormat from 'react-number-format';
import { useAlert } from 'react-alert';
import format from 'date-fns/format';
import getHours from 'date-fns/getHours';
import koLocale from 'date-fns/locale/ko';
import { Grid, TextField, MenuItem, Select, FormControl, InputLabel, InputAdornment } from '@mui/material';
import Button from '@mui/material/Button';
import { IconFileExport, IconSearch } from '@tabler/icons';
import { IconSearch } from '@tabler/icons';
import { getComboCodeList } from 'apis/common';
import FileInputForms from 'views/form/FileInputForms';
import DateAdapter from '@mui/lab/AdapterDateFns';
import { DatePicker } from '@mui/lab';
import LocalizationProvider from '@mui/lab/LocalizationProvider';
const toDate = new Date();

Loading…
Cancel
Save