관리자 퍼블 업뎃
parent
3b78048101
commit
3253cc7188
|
|
@ -6,6 +6,8 @@ import LinearProgress from '@mui/material/LinearProgress';
|
||||||
import * as EgovNet from 'api/egovFetch';
|
import * as EgovNet from 'api/egovFetch';
|
||||||
import URL from 'constants/url';
|
import URL from 'constants/url';
|
||||||
import CODE from 'constants/code';
|
import CODE from 'constants/code';
|
||||||
|
import Col from "react-bootstrap/Col";
|
||||||
|
import Row from "react-bootstrap/Row";
|
||||||
|
|
||||||
import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
|
import { default as EgovLeftNav } from 'components/leftmenu/EgovLeftNavAdmin';
|
||||||
import EgovPagingPaginationInfo from 'components/EgovPagingPaginationInfo';
|
import EgovPagingPaginationInfo from 'components/EgovPagingPaginationInfo';
|
||||||
|
|
@ -184,16 +186,18 @@ function PopUp(props) {
|
||||||
|
|
||||||
|
|
||||||
{/* <!-- Paging --> */}
|
{/* <!-- Paging --> */}
|
||||||
<div className="board-bot">
|
<Row className="pt-3">
|
||||||
<div></div>
|
<Col xs={3}></Col>
|
||||||
<EgovPagingPaginationInfo pagination={paginationInfo} setPaginationInfo={setPaginationInfo} moveToPage={passedPage => {
|
<Col xs={6}>
|
||||||
getList({ ...searchCondition, pageIndex: passedPage })
|
<EgovPagingPaginationInfo pagination={paginationInfo} setPaginationInfo={setPaginationInfo} moveToPage={passedPage => {
|
||||||
}} />
|
getList({ ...searchCondition, pageIndex: passedPage })
|
||||||
<div className="right_col btn1">
|
}} />
|
||||||
<Link to={URL.ADMIN__CONTENTS__POP_UP__CREATE} className="btn btn_blue_h46 w_100">등록</Link>
|
</Col>
|
||||||
</div>
|
<Col xs={3} className="text-end">
|
||||||
|
<Link to={URL.ADMIN__CONTENTS__POP_UP__CREATE} className="btn btn_blue_h32 w_100">등록</Link>
|
||||||
|
</Col>
|
||||||
|
|
||||||
</div>
|
</Row>
|
||||||
{/* <!--/ Paging --> */}
|
{/* <!--/ Paging --> */}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ import AttachFile from "../../../../components/file/AttachFile";
|
||||||
import RichTextEditor from "../../../../components/editor/RichTextEditor";
|
import RichTextEditor from "../../../../components/editor/RichTextEditor";
|
||||||
import AlertDialogSlide from "../../../../components/alert/AlertDialogSlide";
|
import AlertDialogSlide from "../../../../components/alert/AlertDialogSlide";
|
||||||
import LoadingProgress from "../../../../components/progress/LoadingProgress";
|
import LoadingProgress from "../../../../components/progress/LoadingProgress";
|
||||||
|
import Col from "react-bootstrap/Col";
|
||||||
|
import Row from "react-bootstrap/Row";
|
||||||
|
|
||||||
import CODE from 'constants/code';
|
import CODE from 'constants/code';
|
||||||
|
|
||||||
|
|
@ -415,23 +417,22 @@ function PopupEditor(props) {
|
||||||
{/* <!--// 게시판 --> */}
|
{/* <!--// 게시판 --> */}
|
||||||
|
|
||||||
{/* <!-- 버튼영역 --> */}
|
{/* <!-- 버튼영역 --> */}
|
||||||
<div className="board_btn_area">
|
<Row>
|
||||||
<div className="left_col btn1">
|
<Col xs={6}>
|
||||||
<button className="btn btn_blue_h46 w_100"
|
<button className="btn btn_skyblue_h32 w_100" onClick={onClickList}>목록</button>
|
||||||
onClick={onClickList}>목록</button>
|
{modeInfo.mode === CODE.MODE_MODIFY &&
|
||||||
</div>
|
<button className="btn btn_red_h32 w_100 ms-2"
|
||||||
<div className="right_col btn1">
|
onClick={(e) => {
|
||||||
<button className="btn btn_skyblue_h46 w_100"
|
onClickDelete(location.state?.popupId);
|
||||||
|
}}>삭제</button>
|
||||||
|
}
|
||||||
|
</Col>
|
||||||
|
<Col xs={6} className="text-end">
|
||||||
|
<button className="btn btn_blue_h32 w_100"
|
||||||
onClick={() => createPopup()}
|
onClick={() => createPopup()}
|
||||||
> 저장</button>
|
> 저장</button>
|
||||||
{modeInfo.mode === CODE.MODE_MODIFY &&
|
</Col>
|
||||||
<button className="btn btn_red_h46 w_100"
|
</Row>
|
||||||
onClick={(e) => {
|
|
||||||
onClickDelete(location.state?.popupId);
|
|
||||||
}}>삭제</button>
|
|
||||||
}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{/* <!--// 버튼영역 --> */}
|
{/* <!--// 버튼영역 --> */}
|
||||||
|
|
||||||
<AlertDialogSlide confirm={confirm} setConfirm={setConfirm} />
|
<AlertDialogSlide confirm={confirm} setConfirm={setConfirm} />
|
||||||
|
|
|
||||||
|
|
@ -37,12 +37,12 @@ function Survey({}) {
|
||||||
<div className={"list_item"} key={"surveyListDiv_"+index}>
|
<div className={"list_item"} key={"surveyListDiv_"+index}>
|
||||||
<div>{item.svyTitle}</div>
|
<div>{item.svyTitle}</div>
|
||||||
<div>{item.svyStartDt}~{item.svyEndDt}</div>
|
<div>{item.svyStartDt}~{item.svyEndDt}</div>
|
||||||
<div><button className={"btn btn_blue_h31 px-1"} onClick={()=>{editSurveyQt(item)}}>질문관리</button></div>
|
<div><button className={"btn btn_blue_h32 px-1"} onClick={()=>{editSurveyQt(item)}}>질문관리</button></div>
|
||||||
<div><Form.Check type={"switch"} defaultChecked={item.useYn==="Y"} onChange={()=>editUseYn(item.svySeq)}/></div>
|
<div><Form.Check type={"switch"} defaultChecked={item.useYn==="Y"} onChange={()=>editUseYn(item.svySeq)}/></div>
|
||||||
<div><button className={"btn btn_blue_h31 px-1"}>설문지 보기</button></div>
|
<div><button className={"btn btn_blue_h32 px-1"}>설문지 보기</button></div>
|
||||||
<div><button className={"btn btn_blue_h31 px-1"}>통계 보기</button></div>
|
<div><button className={"btn btn_blue_h32 px-1"}>통계 보기</button></div>
|
||||||
<div>
|
<div>
|
||||||
<button className={"btn btn_blue_h31 px-1"} onClick={()=>{editSurvey(item)}}>수정</button>
|
<button className={"btn btn_skyblue_h32 px-1"} onClick={()=>{editSurvey(item)}}>수정</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue