fix: 주정차 심사 반영중

mpower
minuk926 2 years ago
parent f72e9fed7c
commit 5996a3c1d8

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@ -6,7 +6,6 @@ import Loadable from 'ui-component/Loadable';
import AuthGuard from 'utils/route-guard/AuthGuard'; import AuthGuard from 'utils/route-guard/AuthGuard';
// sample page routing // sample page routing
const SamplePage = Loadable(lazy(() => import('views/sample-page')));
const Dashboard = Loadable(lazy(() => import('views/dashboard'))); const Dashboard = Loadable(lazy(() => import('views/dashboard')));
// admin page routing // admin page routing
@ -113,15 +112,6 @@ const MainRoutes = {
{ {
path: '/judge/disabled/review', path: '/judge/disabled/review',
element: <UserByJudgeReview msDatagb="2" menuName="장애인" /> element: <UserByJudgeReview msDatagb="2" menuName="장애인" />
},
{
path: '/sample-page',
element: <SamplePage />
},
{
path: '/modalForm',
element: <ModalForm />
} }
] ]
}; };

@ -1,14 +1,6 @@
// material-ui // material-ui
import { useTheme } from '@mui/material/styles'; import { useTheme } from '@mui/material/styles';
/**
* if you want to use image instead of <svg> uncomment following.
*
* import logoDark from 'assets/images/logo-dark.svg';
* import logo from 'assets/images/logo.svg';
*
*/
import Llogo from '../assets/images/logo/lightLogo.png'; import Llogo from '../assets/images/logo/lightLogo.png';
import Dlogo from '../assets/images/logo/darkLogo.png'; import Dlogo from '../assets/images/logo/darkLogo.png';
// ==============================|| LOGO SVG ||============================== // // ==============================|| LOGO SVG ||============================== //
@ -16,57 +8,7 @@ import Dlogo from '../assets/images/logo/darkLogo.png';
const Logo = () => { const Logo = () => {
const theme = useTheme(); const theme = useTheme();
return ( return <img src={theme.palette.mode === 'dark' ? Dlogo : Llogo} alt="Berry" width="100" />;
/**
* if you want to use image instead of svg uncomment following, and comment out <svg> element.
*
* <img src={theme.palette.mode === 'dark' ? logoDark : logo} alt="Berry" width="100" />
*
*/
<img src={theme.palette.mode === 'dark' ? Dlogo : Llogo} alt="Berry" width="100" />
// <svg width="92" height="32" viewBox="0 0 92 32" fill="none" xmlns="http://www.w3.org/2000/svg">
// <path
// d="M33.085 26.4841V12.3839H37.9541C39.6408 12.3839 40.9202 12.7131 41.7922 13.3717C42.6642 14.0237 43.1002 14.9825 43.1002 16.2478C43.1002 16.9387 42.9251 17.5488 42.5751 18.0782C42.225 18.6011 41.7381 18.9853 41.1143 19.2306C41.8272 19.4114 42.3873 19.7761 42.7947 20.3249C43.2084 20.8737 43.4152 21.5452 43.4152 22.3392C43.4152 23.695 42.9888 24.7215 42.1359 25.4188C41.283 26.1161 40.0673 26.4712 38.4888 26.4841H33.085ZM35.9492 20.3443V24.1502H38.4028C39.0775 24.1502 39.6026 23.9888 39.9781 23.666C40.36 23.3367 40.551 22.8848 40.551 22.3102C40.551 21.0189 39.8922 20.3637 38.5747 20.3443H35.9492ZM35.9492 18.2912H38.0687C39.5135 18.2654 40.236 17.6811 40.236 16.5384C40.236 15.8992 40.0514 15.4408 39.6822 15.1632C39.3194 14.8792 38.7434 14.7371 37.9541 14.7371H35.9492V18.2912ZM53.9365 20.3733H48.4371V24.1502H54.8913V26.4841H45.573V12.3839H54.8723V14.7371H48.4371V18.0976H53.9365V20.3733ZM61.7175 21.3224H59.436V26.4841H56.5717V12.3839H61.7365C63.379 12.3839 64.6455 12.7551 65.5365 13.4975C66.4276 14.24 66.8734 15.2891 66.8734 16.6449C66.8734 17.6069 66.6661 18.4107 66.2527 19.0563C65.8455 19.6954 65.2248 20.2055 64.3907 20.5864L67.3985 26.3485V26.4841H64.3242L61.7175 21.3224ZM59.436 18.9691H61.746C62.4656 18.9691 63.0226 18.7851 63.417 18.4172C63.8114 18.0427 64.0092 17.5294 64.0092 16.8773C64.0092 16.2124 63.8214 15.6894 63.4455 15.3085C63.0768 14.9276 62.5069 14.7371 61.7365 14.7371H59.436V18.9691ZM74.2058 21.3224H71.9237V26.4841H69.0594V12.3839H74.2248C75.8667 12.3839 77.1337 12.7551 78.0248 13.4975C78.9159 14.24 79.3611 15.2891 79.3611 16.6449C79.3611 17.6069 79.1544 18.4107 78.7404 19.0563C78.3332 19.6954 77.7125 20.2055 76.879 20.5864L79.8863 26.3485V26.4841H76.8119L74.2058 21.3224ZM71.9237 18.9691H74.2343C74.9533 18.9691 75.5103 18.7851 75.9052 18.4172C76.2997 18.0427 76.4969 17.5294 76.4969 16.8773C76.4969 16.2124 76.3092 15.6894 75.9337 15.3085C75.5645 14.9276 74.9946 14.7371 74.2248 14.7371H71.9237V18.9691ZM85.8823 18.7367L88.7751 12.3839H91.9064L87.3427 21.3708V26.4841H84.4309V21.3708L79.8673 12.3839H83.008L85.8823 18.7367Z"
// fill={theme.palette.mode === 'dark' ? theme.palette.common.white : theme.palette.grey[900]}
// />
// <path
// d="M10.987 31.5841C4.92849 31.5841 0 26.626 0 20.5323C0 14.4385 4.92899 9.48041 10.987 9.48041C17.045 9.48041 21.974 14.4385 21.974 20.5323C21.974 26.626 17.0459 31.5841 10.987 31.5841ZM10.987 10.536C5.50765 10.536 1.04938 15.0196 1.04938 20.5318C1.04938 26.044 5.50765 30.5275 10.987 30.5275C16.4663 30.5275 20.9251 26.0429 20.9251 20.5308C20.9251 15.0186 16.4673 10.536 10.987 10.536Z"
// fill={theme.palette.primary.main}
// />
// <path
// d="M18.96 21.0225C18.6182 19.7483 15.4851 19.6108 13.6203 20.0779C12.6437 20.3235 11.6456 20.6428 10.6162 20.8265C11.3697 21.4989 12.1788 22.135 13.34 22.2932C16.2211 22.6842 18.0112 21.775 18.96 21.0225Z"
// fill={theme.palette.primary.main}
// />
// <path
// d="M13.34 22.2932C12.1764 22.135 11.3697 21.4989 10.6162 20.8265C9.45013 19.7857 8.41298 18.6579 6.37723 19.0823C3.14069 19.7572 2.71488 23.6081 5.21404 26.0828C6.28706 27.2131 7.66455 28.0041 9.17779 28.3586C10.691 28.7132 12.2742 28.616 13.7333 28.079C15.1924 27.5419 16.4641 26.5883 17.3925 25.3352C18.3209 24.0819 18.8656 22.5835 18.96 21.0235C18.0112 21.775 16.221 22.6842 13.34 22.2932Z"
// fill={theme.palette.secondary.main}
// />
// <path
// d="M15.034 13.9586C14.6301 14.8295 18.2304 15.7957 18.6611 18.6879C18.8687 15.8409 15.5335 12.882 15.034 13.9586Z"
// fill={theme.palette.primary.main}
// />
// <path
// d="M7.46619 17.5935C8.11524 17.3231 8.42345 16.5746 8.15463 15.9217C7.8858 15.2688 7.14167 14.9587 6.49262 15.2292C5.84357 15.4996 5.53536 16.2481 5.80418 16.9011C6.07306 17.5539 6.81714 17.8639 7.46619 17.5935Z"
// fill={theme.palette.secondary.main}
// />
// <path
// d="M10.3549 14.08C10.6585 13.7746 10.6585 13.2795 10.3549 12.9741C10.0513 12.6687 9.55909 12.6687 9.25551 12.9741C8.95194 13.2795 8.95194 13.7746 9.25551 14.08C9.55909 14.3854 10.0513 14.3854 10.3549 14.08Z"
// fill={theme.palette.primary.main}
// />
// <path
// d="M13.1014 9.05206C14.2245 5.7149 13.4696 3.04871 11.1614 1.78241C9.58359 2.10513 8.647 2.87335 8.12549 3.93383C11.2204 3.68185 13.1844 5.63041 13.1014 9.05206Z"
// fill={theme.palette.primary.main}
// />
// <path
// d="M25.6983 6.13641C20.1389 4.1294 16.6304 4.81756 16.0786 9.39055C19.2648 12.6973 22.474 11.1146 25.6983 6.13641Z"
// fill={theme.palette.primary.main}
// />
// <path
// d="M21.2765 4.32541C21.5343 3.21728 21.6681 1.90776 21.6881 0.41748C15.9226 1.70883 13.3224 4.17658 15.2839 8.33846C15.3816 8.36203 15.4754 8.38119 15.5696 8.40085C16.0281 5.14422 18.0463 3.93835 21.2765 4.32541Z"
// fill={theme.palette.primary.main}
// />
// </svg>
);
}; };
export default Logo; export default Logo;

@ -94,7 +94,7 @@ const ProcessJudge = (props) => {
return ( return (
<> <>
<Grid container spacing={1}> <Grid container spacing={1}>
<Grid item xs={6.5}> <Grid item xs={6}>
<ImageList cols={4}> <ImageList cols={4}>
{frecadImgs?.map((img, idx) => ( {frecadImgs?.map((img, idx) => (
<ImgItem key={idx} idx={idx} title={`진술서${idx + 1}`} imgInfo={img} onViewImage={viewImage} /> <ImgItem key={idx} idx={idx} title={`진술서${idx + 1}`} imgInfo={img} onViewImage={viewImage} />
@ -111,21 +111,18 @@ const ProcessJudge = (props) => {
))} ))}
</ImageList> </ImageList>
</Grid> </Grid>
<Grid item xs={5.5}> <Grid item xs={5.9} ml={0.8} border={1}>
<Grid container spacing={1}> <Grid container>
<Grid item xs={12}> <Grid item xs={12}>
{selectedImg && ( {selectedImg && (
<img <ImageList sx={{ width: '100%', height: 554, margin: '0' }}>
src={selectedImg.url} <img src={selectedImg.url} alt={selectedImg.imgName} loading="lazy" />
srcSet={`${selectedImg.url}?w=400&h=400&fit=crop&auto=format&dpr=2 2x`} </ImageList>
alt={selectedImg.imgName}
loading="lazy"
/>
)} )}
</Grid> </Grid>
</Grid> </Grid>
</Grid> </Grid>
<Grid container m={1}> <Grid container>
<Grid item xs={12}> <Grid item xs={12}>
<Divider /> <Divider />
</Grid> </Grid>

@ -10,8 +10,8 @@ const style = {
top: '50%', top: '50%',
left: '50%', left: '50%',
transform: 'translate(-50%, -50%)', transform: 'translate(-50%, -50%)',
width: '98%', width: '80%',
minHeight: '98%', height: '93%',
bgcolor: 'background.paper', bgcolor: 'background.paper',
border: '2px solid #000', border: '2px solid #000',
boxShadow: 24, boxShadow: 24,

@ -1,7 +1,7 @@
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import Modal from '@mui/material/Modal'; import Modal from '@mui/material/Modal';
import { Grid, IconButton } from '@mui/material'; import { Grid, IconButton, ImageList } from '@mui/material';
import CloseOutlined from '@mui/icons-material/CloseOutlined'; import CloseOutlined from '@mui/icons-material/CloseOutlined';
import MainCard from 'ui-component/cards/MainCard'; import MainCard from 'ui-component/cards/MainCard';
@ -11,7 +11,7 @@ const style = {
left: '50%', left: '50%',
transform: 'translate(-50%, -50%)', transform: 'translate(-50%, -50%)',
width: 1000, width: 1000,
minHeight: 800, height: 800,
bgcolor: 'background.paper', bgcolor: 'background.paper',
border: '2px solid #000', border: '2px solid #000',
boxShadow: 24, boxShadow: 24,
@ -38,16 +38,11 @@ const CmmImgViewModal = ({ isBackdrop = false, open, setOpen, title, imgUrl, img
} }
> >
<Grid container spacing={1}> <Grid container spacing={1}>
<ImageList sx={{ width: '100%', height: 650 }}>
<Grid item xs={12}> <Grid item xs={12}>
<img <img style={{ maxWidth: '920px' }} resizemode="contain" src={imgUrl} alt={imgName} loading="lazy" />
style={{ width: '100%' }}
resizemode="contain"
src={imgUrl}
// srcSet={`${imgUrl}?w=400&h=400&fit=crop&auto=format&dpr=2 2x`}
alt={imgName}
loading="lazy"
/>
</Grid> </Grid>
</ImageList>
</Grid> </Grid>
</MainCard> </MainCard>
</Modal> </Modal>

@ -4,19 +4,14 @@ import PropTypes from 'prop-types';
const ImgItem = ({ idx, title, imgInfo, onViewImage }) => ( const ImgItem = ({ idx, title, imgInfo, onViewImage }) => (
<ImageListItem key={idx}> <ImageListItem key={idx}>
<img <img src={imgInfo.url} style={{ maxHeight: '135px' }} alt={imgInfo.imgName} loading="lazy" />
src={imgInfo.url}
// srcSet={`${item.img}?w=164&h=164&fit=crop&auto=format&dpr=2 2x`}
alt={imgInfo.imgName}
loading="lazy"
/>
{imgInfo.imgName && ( {imgInfo.imgName && (
<ImageListItemBar <ImageListItemBar
title={title} title={title}
subtitle={imgInfo.imgName} subtitle={imgInfo.imgName}
actionIcon={ actionIcon={
<IconButton <IconButton
sx={{ color: 'rgba(255, 255, 255, 0.54)' }} sx={{ color: 'rgba(255, 255, 255, 0.54)', alignItems: 'baseline' }}
aria-label={`info about ${imgInfo.imgName}`} aria-label={`info about ${imgInfo.imgName}`}
onClick={onViewImage(imgInfo)} onClick={onViewImage(imgInfo)}
> >

@ -1,20 +0,0 @@
// material-ui
import { Typography } from '@mui/material';
// project imports
import MainCard from 'ui-component/cards/MainCard';
// ==============================|| SAMPLE PAGE ||============================== //
const SamplePage = () => (
<MainCard title="Sample Card">
<Typography variant="body2">
Lorem ipsum dolor sit amen, consenter nipissing eli, sed do elusion tempos incident ut laborers et doolie magna alissa. Ut enif ad
minim venice, quin nostrum exercitation illampu laborings nisi ut liquid ex ea commons construal. Duos aube grue dolor in reprehended
in voltage veil esse colum doolie eu fujian bulla parian. Exceptive sin ocean cuspidate non president, sunk in culpa qui officiate
descent molls anim id est labours.
</Typography>
</MainCard>
);
export default SamplePage;
Loading…
Cancel
Save