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