From 4133deb020c77388c29997dd4ddb999de7bd974e Mon Sep 17 00:00:00 2001 From: dbnt-design Date: Fri, 3 Nov 2023 16:09:59 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EC=A0=95=EC=9D=B4=EB=A0=A5=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=EC=B0=BD=EA=B8=B0=EB=8A=A5=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/css/Custom/customMain.css | 5 ++++- .../src/pages/main/EgovMain.jsx | 22 +------------------ .../pages/standardCode/StandardCodeList.jsx | 18 +++++++++++++-- .../standardCode/StandardCodeListModal.js | 17 ++++++++++++++ 4 files changed, 38 insertions(+), 24 deletions(-) create mode 100644 egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeListModal.js diff --git a/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css b/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css index 98cc9d4..790c401 100644 --- a/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css +++ b/egovframe-template-simple-react-contribution/src/css/Custom/customMain.css @@ -2,9 +2,12 @@ height: 35px; line-height: 35px; display: block; - background-color: gray; + background-color: #909090; text-align: center; border-radius: 13px; color: white; margin: 5px; +} +.mainbnt:hover{ + background-color: #212121; } \ No newline at end of file diff --git a/egovframe-template-simple-react-contribution/src/pages/main/EgovMain.jsx b/egovframe-template-simple-react-contribution/src/pages/main/EgovMain.jsx index 13f04fc..366602b0 100644 --- a/egovframe-template-simple-react-contribution/src/pages/main/EgovMain.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/main/EgovMain.jsx @@ -107,7 +107,7 @@ function EgovMain(props) {
{/*단순 홈페이지 전자정부 표준프레임워크의 경량환경 내부업무에 대한 최신 정보와 기술을 제공하고 있습니다.*/}

건설기준코드 검색

- + 공통코드 지반코드 구조코드 @@ -126,26 +126,6 @@ function EgovMain(props) { 상수도코드 하수도코드 농업기반코드 - {/* - - - - - - - - - - - - - - - - - - - */}
diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx index d2957bb..5fb3218 100644 --- a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeList.jsx @@ -9,8 +9,20 @@ import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavInform'; import EgovPaging from 'components/EgovPaging'; import { itemIdxByPage } from 'utils/calc'; +import StandardCodeListModal from './StandardCodeListModal' + function StandardCodeList(props) { const {listCode} = useParams(); + const [show, setshow] = useState(false); + const [groupseq,setgroupseq] = useState(); + function showhandling(e){ + const param = e.currentTarget.dataset; + setshow(true); + setgroupseq(param.groupseq); + } + function close () { + setshow(false); + } console.group("StandardCodeList"); console.log("[Start] StandardCodeList ------------------------------"); console.log("StandardCodeList [props] : ", props); @@ -63,7 +75,7 @@ function StandardCodeList(props) { mutListTag.push( {item.docNm} } +
-
+ ); }); @@ -193,6 +206,7 @@ function StandardCodeList(props) { retrieveList({ ...searchCondition, pageIndex: passedPage, searchCnd: cndRef.current.value, searchWrd: wrdRef.current.value }) }} /> {/* */} + {/* */} diff --git a/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeListModal.js b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeListModal.js new file mode 100644 index 0000000..1838a26 --- /dev/null +++ b/egovframe-template-simple-react-contribution/src/pages/standardCode/StandardCodeListModal.js @@ -0,0 +1,17 @@ +import {Button, Modal, ModalBody, ModalFooter, ModalHeader, ModalTitle} from "react-bootstrap"; + + +function StandardCodeListModal({show,groupseq,onClose}){ + //todo 로직추가구현필요 + return( + + + 개정이력 + + + {groupseq} + + + ) +} +export default StandardCodeListModal; \ No newline at end of file