diff --git a/egovframe-template-simple-react-contribution/src/css/page.css b/egovframe-template-simple-react-contribution/src/css/page.css index 4413141..f6def02 100644 --- a/egovframe-template-simple-react-contribution/src/css/page.css +++ b/egovframe-template-simple-react-contribution/src/css/page.css @@ -193,6 +193,24 @@ .roleList .result .list_item .checkboxDiv {width: 60px;} .roleList .result .list_item .saveBtnDiv {width: 100px;} + /*사이트 관리 > 컨텐츠 관리 > 설문 관리*/ + .surveyList .head > span:nth-child(1) {width: 250px;} + .surveyList .head > span:nth-child(2) {width: 150px;} + .surveyList .head > span:nth-child(3) {width: 100px;} + .surveyList .head > span:nth-child(4) {width: 100px;} + .surveyList .head > span:nth-child(5) {width: 120px;} + .surveyList .head > span:nth-child(6) {width: 100px;} + .surveyList .head > span:nth-child(7) {width: 80px;} + .surveyList .head > span:nth-child(8) {width: 80px;} + .surveyList .result .list_item > div:nth-child(1) {width: 250px;} + .surveyList .result .list_item > div:nth-child(2) {width: 150px;} + .surveyList .result .list_item > div:nth-child(3) {width: 100px;} + .surveyList .result .list_item > div:nth-child(4) {width: 100px;} + .surveyList .result .list_item > div:nth-child(5) {width: 120px;} + .surveyList .result .list_item > div:nth-child(6) {width: 100px;} + .surveyList .result .list_item > div:nth-child(7) {width: 80px;} + .surveyList .result .list_item > div:nth-child(8) {width: 80px;} + /* 사이트소개 */ .SITE_INTRO .ds_1 .t_1 {margin-top: 52px; color: #000; font-size: 26px; font-weight: 500; text-align: center;} .SITE_INTRO .ds_1 .li_1 {position: relative; margin-top: 34px; font-size: 0; text-align: center;} diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx index af66715..33318a0 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/contents/Survey.jsx @@ -1,49 +1,112 @@ -import React from 'react'; +import React, {useCallback, useEffect, useState} from 'react'; 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"; +import Modal from "react-bootstrap/Modal"; -function Survey(props) { +function Survey({}) { - const Location = React.memo(function Location() { - return ( -
검색된 결과가 없습니다.
); // 게시판 목록 초기값 + setListTag(mutListTag); + }, + function (resp) { + console.log("err response : ", resp); + } + ); + },[]); + + function editSurvey(){ + handleShow(); + setModalBody(<>>); + } + + useEffect(()=>{ + retrieveList(); + }, []) return (