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} /> + } /> + } />