From d586c7b226c64ae0247592de023e2d673fd0161c Mon Sep 17 00:00:00 2001 From: minuk926 Date: Wed, 6 Jul 2022 21:59:44 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=EC=8B=AC=EC=9D=98=EB=93=B1?= =?UTF-8?q?=EB=A1=9D=20=EA=B2=80=EC=83=89=EC=A1=B0=EA=B1=B4=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=20fix"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 755a64946174479b70936948511cffd823f6ba7b. --- src/views/biz/admin/judge/JudgeRegistReview.jsx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/views/biz/admin/judge/JudgeRegistReview.jsx b/src/views/biz/admin/judge/JudgeRegistReview.jsx index 9303f5c..134909c 100644 --- a/src/views/biz/admin/judge/JudgeRegistReview.jsx +++ b/src/views/biz/admin/judge/JudgeRegistReview.jsx @@ -20,16 +20,11 @@ import NumberFormat from 'react-number-format'; import ExcelDownload from 'views/cmm/file-ctl/ExcelDownload'; import { findJudgeTargets, saveJudgeTargets } from 'apis/judge'; import PropTypes from 'prop-types'; -import getYear from 'date-fns/getYear'; -import { useAlert } from 'react-alert'; - -const year = getYear(new Date()); const JudgeRegistReview = ({ scDatagb, menuName }) => { - const showAlert = useAlert(); const [scTransfer, setScTransfer] = useState('1'); - const [scSeq1, setScSeq1] = useState(year); - const [scSeq2, setScSeq2] = useState(year); + const [scSeq1, setScSeq1] = useState(2022000001); + const [scSeq2, setScSeq2] = useState(2022000899); const [selectionModel, setSelectionModel] = useState([]); const [totalCount, setTotalCount] = useState(0); const [rowsState, setRowsState] = useState({ @@ -61,10 +56,6 @@ const JudgeRegistReview = ({ scDatagb, menuName }) => { ]; const search = () => { - if (scSeq1.toString().length < 10 || scSeq2.toString().length < 10) { - showAlert.show('접수번호는 10자리 입니다.'); - return; - } const params = { scDatagb, // 거주자 scTransfer,