diff --git a/src/views/biz/admin/judge/ModalJudgeResult2.jsx b/src/views/biz/admin/judge/ModalJudgeResult2.jsx
deleted file mode 100644
index c775aa3..0000000
--- a/src/views/biz/admin/judge/ModalJudgeResult2.jsx
+++ /dev/null
@@ -1,216 +0,0 @@
-import Paper from '@mui/material/Paper';
-import Table from '@mui/material/Table';
-import TableBody from '@mui/material/TableBody';
-import TableCell, { tableCellClasses } from '@mui/material/TableCell';
-import TableContainer from '@mui/material/TableContainer';
-import TableHead from '@mui/material/TableHead';
-import TableRow from '@mui/material/TableRow';
-import { styled } from '@mui/material/styles';
-import { Divider, FormControl, Grid, InputLabel, MenuItem, Select, Typography } from '@mui/material';
-import PropTypes from 'prop-types';
-import Box from '@mui/material/Box';
-import combo from 'commons/combo_data';
-import { useState } from 'react';
-import Button from '@mui/material/Button';
-import { IconSearch } from '@tabler/icons';
-import { findJudgeResults } from 'apis/judge';
-import MuiAlert from 'views/cmm/MuiAlert';
-
-const StyledTableCell = styled(TableCell)(({ theme }) => ({
- [`&.${tableCellClasses.head}`]: {
- backgroundColor: theme.palette.common.black,
- color: theme.palette.common.white
- },
- [`&.${tableCellClasses.body}`]: {
- // fontSize: 14
- }
-}));
-
-const StyledTableRow = styled(TableRow)(({ theme }) => ({
- '&:nth-of-type(odd)': {
- backgroundColor: theme.palette.action.hover
- },
- // hide last border
- '&:last-child td, &:last-child th': {
- border: 0
- }
-}));
-
-const ModalJudgeResult = ({ judgeUsers, totJudgeUserData, judgeData, simsaUser, selectedRow, judgeTeam }) => {
- const [judgeResult, setJudgeResult] = useState({
- judgeUsers,
- totJudgeUserData,
- judgeData
- // simsaUser
- });
- const [msuTeam, setMsuTeam] = useState(judgeTeam);
- const [alertOpen, setAlertOpen] = useState(false);
- const [alertState, setAlertState] = useState({
- // prettier-ignore
- severity: "warning",
- title: '',
- message: ''
- });
-
- const totLabel = ['부과', '서손', '미부과', '계'];
- console.log(totJudgeUserData, judgeData, simsaUser, selectedRow, judgeTeam);
- const onSearch = async () => {
- if (msuTeam) {
- const params = {
- msDatagb: selectedRow.msDatagb ?? '',
- msSdate: selectedRow.msSdate,
- msEdate: selectedRow.msEdate,
- msChasu: selectedRow.msChasu,
- msuTeam
- };
- const res = await findJudgeResults(params, params.msDatagb === '');
-
- // TODO: 에러 alert 반영 필요
- if (res && res.isAxiosError) {
- setJudgeResult({
- ...judgeResult,
- totJudgeUserData: [],
- judgeData: [],
- simsaUser: []
- });
- // alert.show('조회된 데이타가 없습니다.');
- setAlertState({
- ...alertState,
- message: '조회된 데이타가 없습니다.'
- });
- setAlertOpen(true);
- // descriptionAlertsDescriptionAlerts();
- } else {
- setJudgeResult({
- ...judgeResult,
- totJudgeUserData: res.totJudgeUserData,
- judgeData: res.judgeData,
- simsaUser: res.simsaUser
- });
- }
- // totJudgeUserData = res.totJudgeUserData;
- // judgeData = res.judgeData;
- // simsaUser = res.simsaUser;
- // selectedRow,
- // judgeTeam: msuTeam
- // });
- }
- };
-
- return (
-
-
-
-
-
-
- 심의차수: {selectedRow.msChasu}차 심의기간: {selectedRow.msSdate} ~ {selectedRow.msEdate}
-
-
-
-
- 팀
-
-
-
-
- } onClick={onSearch}>
- 조회
-
-
-
-
-
-
-
-
-
-
- {/* */}
- {/* 민원코드 */}
- {/* */}
-
- 접수번호
-
-
- 차량번호
-
- {judgeResult.judgeUsers.map((u) => (
-
- {u.NAME}
-
- ))}
-
- 결과
-
-
-
-
- {/* 심사 통계 */}
- {judgeResult.totJudgeUserData.map((totData, idx) => (
-
-
- {totLabel[idx]}
-
-
- {totData.map((data) => (
-
- {data}
-
- ))}
-
- ))}
-
-
-
-
-
-
- {/* 접수번호별 심사 결과 */}
- {judgeResult.judgeData.map((row) => (
-
- {/* {row.msMaincode} */}
-
- {row.msSeq}
-
-
- {row.msCarnum}
-
-
- {/* 심사위원별 심사결과 */}
- {row.simsa.map((r) => (
-
- {r.msuResult}
-
- ))}
-
- {/* 최종심사결과 */}
-
- {row.simsa[0].msResult}
-
-
- ))}
-
-
-
-
-
-
- );
-};
-ModalJudgeResult.propTypes = {
- judgeUsers: PropTypes.array,
- totJudgeUserData: PropTypes.array.isRequired,
- judgeData: PropTypes.array.isRequired,
- // simsaUser: PropTypes.array.isRequired,
- selectedRow: PropTypes.object.isRequired,
- judgeTeam: PropTypes.string
-};
-
-export default ModalJudgeResult;
diff --git a/src/views/biz/judge/BasicDocument.jsx b/src/views/biz/judge/PdfDocument.jsx
similarity index 95%
rename from src/views/biz/judge/BasicDocument.jsx
rename to src/views/biz/judge/PdfDocument.jsx
index 899af86..b448f78 100644
--- a/src/views/biz/judge/BasicDocument.jsx
+++ b/src/views/biz/judge/PdfDocument.jsx
@@ -34,7 +34,7 @@ const styles = StyleSheet.create({
*/
// Create Document Component
-function BasicDocument() {
+function PdfDocument() {
return (
{/* Start of the document */}
@@ -52,4 +52,4 @@ function BasicDocument() {
);
}
-export default BasicDocument;
+export default PdfDocument;
diff --git a/src/views/biz/judge/ProcessJudge2.jsx b/src/views/biz/judge/ProcessJudge2.jsx
deleted file mode 100644
index 4604cf1..0000000
--- a/src/views/biz/judge/ProcessJudge2.jsx
+++ /dev/null
@@ -1,97 +0,0 @@
-import React, { useState } from 'react';
-import { CardMedia, ImageList, ImageListItem } from '@mui/material';
-import { useDropzone } from 'react-dropzone';
-import { Image } from '@mui/icons-material';
-import Box from '@mui/material/Box';
-
-const itemData = [
- {
- img: 'https://images.unsplash.com/photo-1551963831-b3b1ca40c98e',
- title: 'Breakfast'
- },
- {
- img: 'https://images.unsplash.com/photo-1551782450-a2132b4ba21d',
- title: 'Burger'
- },
- {
- img: 'https://images.unsplash.com/photo-1522770179533-24471fcdba45',
- title: 'Camera'
- },
- {
- img: 'https://images.unsplash.com/photo-1444418776041-9c7e33cc5a9c',
- title: 'Coffee'
- },
- {
- img: 'https://images.unsplash.com/photo-1533827432537-70133748f5c8',
- title: 'Hats'
- },
- {
- img: 'https://images.unsplash.com/photo-1558642452-9d2a7deb7f62',
- title: 'Honey'
- },
- {
- img: 'https://images.unsplash.com/photo-1516802273409-68526ee1bdd6',
- title: 'Basketball'
- },
- {
- img: 'https://images.unsplash.com/photo-1518756131217-31eb79b20e8f',
- title: 'Fern'
- },
- {
- img: 'https://images.unsplash.com/photo-1597645587822-e99fa5d45d25',
- title: 'Mushrooms'
- },
- {
- img: 'https://images.unsplash.com/photo-1567306301408-9b74779a11af',
- title: 'Tomato basil'
- },
- {
- img: 'https://images.unsplash.com/photo-1471357674240-e1a485acb3e1',
- title: 'Sea star'
- },
- {
- img: 'https://images.unsplash.com/photo-1589118949245-7d38baf380d6',
- title: 'Bike'
- }
-];
-
-const ProcessJudge2 = () => {
- const [previewImage, setPreviewImage] = useState();
-
- const { getRootProps, getInputProps } = useDropzone({
- accept: 'image/*',
- onDrop: (acceptedFiles) => {
- setPreviewImage(URL.createObjectURL(itemData[0].img));
- }
- });
-
- return (
- <>
-
-
-
- >
- );
-};
-
-export default ProcessJudge2;