feat: 거주자/장애인 자료 삭제 반영

main
minuk926 3 years ago
parent ce0a274712
commit 215b8eb3cf

@ -7,9 +7,9 @@ import { useAlert } from 'react-alert';
import { Grid, TextField, MenuItem, Select, FormControl, InputLabel, InputAdornment, Divider } from '@mui/material'; import { Grid, TextField, MenuItem, Select, FormControl, InputLabel, InputAdornment, Divider } from '@mui/material';
import Button from '@mui/material/Button'; import Button from '@mui/material/Button';
import { IconSearch } from '@tabler/icons'; import { IconSearch } from '@tabler/icons';
import { judgeFileDownload } from '../../../apis/judge';
import { Delete, List } from '@mui/icons-material'; import { Delete, List } from '@mui/icons-material';
import { judgeFileDownload } from 'apis/judge';
import ImageFileTextForm from '../../cmm/ImageFileTextForm'; import ImageFileTextForm from '../../cmm/ImageFileTextForm';
const ModifyJudgeDataForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSave, onModify }) => { const ModifyJudgeDataForm = ({ rowData, contDocs, ingbs, setOpen, handleModalSave, onModify }) => {

@ -3,7 +3,6 @@ import { useState } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import NumberFormat from 'react-number-format'; import NumberFormat from 'react-number-format';
import { useAlert } from 'react-alert'; import { useAlert } from 'react-alert';
// import format from 'date-fns/format';
import { Grid, TextField, MenuItem, Select, FormControl, InputLabel, InputAdornment, Divider } from '@mui/material'; import { Grid, TextField, MenuItem, Select, FormControl, InputLabel, InputAdornment, Divider } from '@mui/material';
import Button from '@mui/material/Button'; import Button from '@mui/material/Button';

@ -1,4 +1,5 @@
import { useCallback, useEffect, useState } from 'react'; import { useCallback, useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import { Button, Divider, Grid, Link } from '@mui/material'; import { Button, Divider, Grid, Link } from '@mui/material';
@ -10,11 +11,10 @@ import MuiDataGrid from 'views/cmm/MuiDataGrid';
import CmmModal from 'views/cmm/CmmModal'; import CmmModal from 'views/cmm/CmmModal';
import { findJudge, findJudgeDatas, removeJudgeData, saveJudgeData } from 'apis/judge'; import { findJudge, findJudgeDatas, removeJudgeData, saveJudgeData } from 'apis/judge';
import JudgeDataNewForm from 'views/biz/judge/JudgeDataNewForm'; import JudgeDataNewForm from 'views/biz/judge/JudgeDataNewForm';
import PropTypes from 'prop-types';
import xitCmm from 'commons/XitCmm'; import xitCmm from 'commons/XitCmm';
import JudgeDataDetailForm from './JudgeDataDetailForm'; import JudgeDataDetailForm from './JudgeDataDetailForm';
import { useAlert } from 'react-alert'; import { useAlert } from 'react-alert';
import { getComboCodeList } from '../../../apis/common'; import { getComboCodeList } from 'apis/common';
import JudgeDataModifyForm from './JudgeDataModifyForm'; import JudgeDataModifyForm from './JudgeDataModifyForm';
const JudgeDataReview = ({ scDatagb, menuName }) => { const JudgeDataReview = ({ scDatagb, menuName }) => {

@ -1,4 +1,5 @@
import { useCallback, useEffect, useRef, useState } from 'react'; import { useCallback, useEffect, useRef, useState } from 'react';
import PropTypes from 'prop-types';
import _ from 'lodash'; import _ from 'lodash';
import getYear from 'date-fns/getYear'; import getYear from 'date-fns/getYear';
@ -18,7 +19,6 @@ import InputLabel from 'ui-component/extended/Form/InputLabel';
import { findJudgeResults, findJudges, removeJudge } from 'apis/judge'; import { findJudgeResults, findJudges, removeJudge } from 'apis/judge';
import CmmModal from 'views/cmm/CmmModal'; import CmmModal from 'views/cmm/CmmModal';
import ModalJudgeResult from './ModalJudgeResult'; import ModalJudgeResult from './ModalJudgeResult';
import PropTypes from 'prop-types';
const JudgeReview = ({ msDatagb, menuName }) => { const JudgeReview = ({ msDatagb, menuName }) => {
const isInit = useRef(true); const isInit = useRef(true);

Loading…
Cancel
Save