diff --git a/egovframe-template-simple-react-contribution/src/css/page.css b/egovframe-template-simple-react-contribution/src/css/page.css index 791049e..b7e4d67 100644 --- a/egovframe-template-simple-react-contribution/src/css/page.css +++ b/egovframe-template-simple-react-contribution/src/css/page.css @@ -170,26 +170,22 @@ .userList .result .list_item > div:nth-child(7) {width: 100px;} /* 사이트관리 > 환경설정 > 메뉴관리 */ - .menuList .head > span:nth-child(1) {width: 60px;} - .menuList .head > span:nth-child(2) {width: 100px;} + .menuList .head > span:nth-child(1) {width: 100px;} + .menuList .head > span:nth-child(2) {width: 150px;} .menuList .head > span:nth-child(3) {width: 100px;} - .menuList .head > span:nth-child(4) {width: 120px;} + .menuList .head > span:nth-child(4) {width: 100px;} .menuList .head > span:nth-child(5) {width: 100px;} - .menuList .head > span:nth-child(6) {width: 100px;} + .menuList .head > span:nth-child(6) {width: 200px;} .menuList .head > span:nth-child(7) {width: 100px;} .menuList .head > span:nth-child(8) {width: 100px;} - .menuList .head > span:nth-child(9) {width: 100px;} - .menuList .head > span:nth-child(10) {width: 100px;} - .menuList .result .list_item > div:nth-child(1) {width: 60px;} - .menuList .result .list_item > div:nth-child(2) {width: 100px;} + .menuList .result .list_item > div:nth-child(1) {width: 100px;} + .menuList .result .list_item > div:nth-child(2) {width: 150px;} .menuList .result .list_item > div:nth-child(3) {width: 100px;} - .menuList .result .list_item > div:nth-child(4) {width: 120px;} + .menuList .result .list_item > div:nth-child(4) {width: 100px;} .menuList .result .list_item > div:nth-child(5) {width: 100px;} - .menuList .result .list_item > div:nth-child(6) {width: 100px;} + .menuList .result .list_item > div:nth-child(6) {width: 200px;} .menuList .result .list_item > div:nth-child(7) {width: 100px;} .menuList .result .list_item > div:nth-child(8) {width: 100px;} - .menuList .result .list_item > div:nth-child(9) {width: 100px;} - .menuList .result .list_item > div:nth-child(10) {width: 100px;} /* 사이트소개 */ .SITE_INTRO .ds_1 .t_1 {margin-top: 52px; color: #000; font-size: 26px; font-weight: 500; text-align: center;} diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuMgt.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuMgt.jsx index 450794f..777b8bd 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuMgt.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/config/MenuMgt.jsx @@ -3,10 +3,62 @@ import {Link} from "react-router-dom"; import URL from "constants/url"; import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin'; +import * as EgovNet from "../../../api/egovFetch"; function MenuMgt({}) { + const [listTag, setListTag] = useState([]); + + const retrieveList = useCallback(() => { + EgovNet.requestFetch( + '/admin/config/menu-mgt', + { + method: "GET" + }, + (resp) => { + let mutListTag = []; + + setListTag([]); + // 리스트 항목 구성 + resp.result.menuList.forEach(function (item, index) { + mutListTag.push( +
검색된 결과가 없습니다.
); // 게시판 목록 초기값 + setListTag(mutListTag); + }, + function (resp) { + console.log("err response : ", resp); + } + ); + },[]); + + function saveMenu(){ + + } + + function removeMenu(menuId){ + + } + + useEffect(()=>{ + retrieveList(); + }, []) + return (