From cb7773b0c5250ab57c799185e6171b90b4052ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Fri, 29 Dec 2023 11:56:04 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B8=B0=EB=B3=B8=EC=BD=94=EB=93=9C=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=20=EC=9E=91=EC=97=85=EC=A4=91.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/leftmenu/EgovLeftNavAdmin.jsx | 4 +- .../src/pages/admin/config/BaseCodeMgt.jsx | 42 ++++++++++++++++++- .../admin/config/baseCode/ChildCodeDiv.jsx | 30 +++++++++++++ .../admin/config/baseCode/ParentCodeDiv.jsx | 30 +++++++++++++ .../src/pages/standardCode/BookmarkModal.js | 1 - 5 files changed, 103 insertions(+), 4 deletions(-) create mode 100644 egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ChildCodeDiv.jsx create mode 100644 egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ParentCodeDiv.jsx 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 558ebf7..6520e6f 100644 --- a/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx +++ b/egovframe-template-simple-react-contribution/src/components/leftmenu/EgovLeftNavAdmin.jsx @@ -4,12 +4,12 @@ import { NavLink } from 'react-router-dom'; import URL from 'constants/url'; import {Accordion} from "react-bootstrap"; -function EgovLeftNavAdmin() { +function EgovLeftNavAdmin({activeKey}) { return (

사이트관리

- + 환경설정 diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx index cfff642..4098489 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/config/BaseCodeMgt.jsx @@ -1,11 +1,51 @@ import React from 'react'; +import CODE from "../../../constants/code"; +import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin'; +import {Link} from "react-router-dom"; +import URL from "../../../constants/url"; +import ParentCodeDiv from "./baseCode/ParentCodeDiv"; +import Row from "react-bootstrap/Row"; +import Col from "react-bootstrap/Col"; +import ChildCodeDiv from "./baseCode/ChildCodeDiv"; function BaseCodeMgt(props) { return (
- BaseCodeMgt +
+
+
    +
  • Home
  • +
  • 사이트관리
  • +
  • 기본 코드 관리
  • +
+
+
+ {/* */} + +
+ {/* */} + +
+

사이트관리

+
+ +

기본 코드 관리

+ + + + + + + + +
+ +
+
+
+
); } diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ChildCodeDiv.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ChildCodeDiv.jsx new file mode 100644 index 0000000..8337b7c --- /dev/null +++ b/egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ChildCodeDiv.jsx @@ -0,0 +1,30 @@ +import {Container} from "react-bootstrap"; +import Row from "react-bootstrap/Row"; +import Col from "react-bootstrap/Col"; +import Form from 'react-bootstrap/Form' +import Button from "react-bootstrap/Button"; + +function ChildCodeDiv(){ + return ( + + + 코드 + 코드명 + 삭제 + 수정 + + {} + + + + + + + + + + + ); +} + +export default ChildCodeDiv; \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ParentCodeDiv.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ParentCodeDiv.jsx new file mode 100644 index 0000000..0bd736b --- /dev/null +++ b/egovframe-template-simple-react-contribution/src/pages/admin/config/baseCode/ParentCodeDiv.jsx @@ -0,0 +1,30 @@ +import {Container} from "react-bootstrap"; +import Row from "react-bootstrap/Row"; +import Col from "react-bootstrap/Col"; +import Form from 'react-bootstrap/Form' +import Button from "react-bootstrap/Button"; + +function ParentCodeDiv(){ + return ( + + + 코드그룹 + 코드그룹명 + 삭제 + 수정 + + {} + + + + + + + + + + + ); +} + +export default ParentCodeDiv; \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js b/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js index 60231ca..cb66c8c 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/BookmarkModal.js @@ -2,7 +2,6 @@ import {React, useCallback, useEffect, useState} from "react"; import Modal from "react-bootstrap/Modal"; import * as EgovNet from "../../api/egovFetch"; import {VwDiv} from "./Vw.style"; -import Form from "react-bootstrap/Form"; import Col from "react-bootstrap/Col"; import Row from "react-bootstrap/Row";