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