From 20a84b6d1e51fb0dbe7801bc6400eb7b3a623e66 Mon Sep 17 00:00:00 2001 From: thkim Date: Wed, 3 Jan 2024 15:26:21 +0900 Subject: [PATCH] =?UTF-8?q?build:=20.vscode=20=EB=94=94=EB=A0=89=ED=86=A0?= =?UTF-8?q?=EB=A6=AC=EA=B0=80=20git=EC=97=90=20=ED=8F=AC=ED=95=A8=EB=90=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20.gitignore=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 + .idea/kcscDev.iml | 9 ---- .idea/misc.xml | 6 --- .idea/modules.xml | 8 ---- .idea/vcs.xml | 6 --- .idea/workspace.xml | 43 ------------------- .../.vscode/launch.json | 15 ------- .../components/leftmenu/EgovLeftNavAdmin.jsx | 2 +- .../pages/admin/committee/Schedules/Edit.jsx | 10 +++-- ...dardsResearch.jsx => StandardResearch.jsx} | 4 +- .../src/routes/index.jsx | 8 ++-- 11 files changed, 15 insertions(+), 98 deletions(-) create mode 100644 .gitignore delete mode 100644 .idea/kcscDev.iml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml delete mode 100644 .idea/workspace.xml delete mode 100644 egovframe-template-simple-react-contribution/.vscode/launch.json rename egovframe-template-simple-react-contribution/src/pages/admin/contents/{StandardsResearch.jsx => StandardResearch.jsx} (95%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ab6838c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +**/.idea +**/.vscode \ No newline at end of file diff --git a/.idea/kcscDev.iml b/.idea/kcscDev.iml deleted file mode 100644 index d6ebd48..0000000 --- a/.idea/kcscDev.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 639900d..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 373e70b..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 017a708..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 1703206321951 - - - - \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/.vscode/launch.json b/egovframe-template-simple-react-contribution/.vscode/launch.json deleted file mode 100644 index f6b35a0..0000000 --- a/egovframe-template-simple-react-contribution/.vscode/launch.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "chrome", - "request": "launch", - "name": "Launch Chrome against localhost", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}" - } - ] -} \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx index 6520e6f..923b57c 100644 --- a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx +++ b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx @@ -62,7 +62,7 @@ function EgovLeftNavAdmin({activeKey}) { diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx index 9fbab65..09626fa 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx @@ -34,6 +34,8 @@ function SchedulesEdit(props) { const initMode = () => { + + // props.mode 값이 없으면 에러가 발생한다. switch (props.mode) { case CODE.MODE_CREATE: setModeInfo({ @@ -184,8 +186,8 @@ function SchedulesEdit(props) {
{/* */} @@ -199,10 +201,10 @@ function SchedulesEdit(props) { {/* */}
-

사이트관리

+

위원회 일정 관리

-

일정관리 상세보기

+ {/* */} {/* */}
diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/contents/StandardsResearch.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/contents/StandardResearch.jsx similarity index 95% rename from egovframe-template-simple-react-contribution/src/pages/admin/contents/StandardsResearch.jsx rename to egovframe-template-simple-react-contribution/src/pages/admin/contents/StandardResearch.jsx index 22a1e63..d4a13b5 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/contents/StandardsResearch.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/contents/StandardResearch.jsx @@ -6,7 +6,7 @@ import URL from 'constants/url'; import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin'; -function StandardsResearch(props) { +function StandardResearch(props) { const Location = React.memo(function Location() { return ( @@ -47,4 +47,4 @@ function StandardsResearch(props) { ); } -export default StandardsResearch; +export default StandardResearch; diff --git a/egovframe-template-simple-react-contribution/src/routes/index.jsx b/egovframe-template-simple-react-contribution/src/routes/index.jsx index 5f60f91..a49d1b6 100644 --- a/egovframe-template-simple-react-contribution/src/routes/index.jsx +++ b/egovframe-template-simple-react-contribution/src/routes/index.jsx @@ -91,7 +91,7 @@ import AdminStandardsInfoDisclosure from 'pages/admin/standards/InfoDisclosure'; // 관리자 - 컨텐츠 관리 import AdminContentsSurvey from 'pages/admin/contents/Survey'; // 관리자 - 컨텐츠 관리/설문 관리 import AdminContentsPopUp from 'pages/admin/contents/PopUp'; // 관리자 - 컨텐츠 관리/팝업 관리 -import AdminContentsStandardsResearch from 'pages/admin/contents/StandardsResearch'; // 관리자 - 컨텐츠 관리/건설기준연구 관리 +import AdminContentsStandardResearch from 'pages/admin/contents/StandardResearch'; // 관리자 - 컨텐츠 관리/건설기준연구 관리 import AdminContentsTextMessages from 'pages/admin/contents/TextMessages'; // 관리자 - 컨텐츠 관리/문자 발송 // 관리자 - 위원회 관리 @@ -293,15 +293,15 @@ const SecondRoutes = () => { {/* 관리자 - 컨텐츠 관리 */} } /> } /> - } /> + } /> } /> {/* 관리자 - 위원회 관리 */} } /> } /> } /> - } mode={CODE.MODE_CREATE} /> - } mode={CODE.MODE_MODIFY} /> + } /> + } />