관리자 퍼블 업뎃

thkim
Lim\jun 2024-07-04 15:47:03 +09:00
parent 61d5d7c943
commit 3b78048101
6 changed files with 38 additions and 32 deletions

View File

@ -155,11 +155,11 @@ function SchedulesDetail(props) {
{/* <!-- 버튼영역 --> */}
<Row className="pt-3">
<Col xs={6}>
<Link to={URL.ADMIN__COMMITTEE__PROGRESS_STATUS} className="btn btn_blue_h32 w_100">목록</Link>
<Link to={URL.ADMIN__COMMITTEE__PROGRESS_STATUS} className="btn btn_skyblue_h32 w_100">목록</Link>
<button className="btn btn_red_h32 w_100 ms-2">삭제</button>
</Col>
<Col xs={6} className="text-end">
<Link to="" className="btn btn_skyblue_h32 w_100">수정</Link>
<Link to="" className="btn btn_blue_h32 w_100">수정</Link>
</Col>
</Row>
{/* <!--// 버튼영역 --> */}

View File

@ -544,10 +544,10 @@ function ProgressStatusEdit(props) {
{/* <!-- 버튼영역 --> */}
<Row className="pt-3">
<Col xs={6}>
<Link to={URL.ADMIN__COMMITTEE__PROGRESS_STATUS} className="btn btn_blue_h32 w_100">목록</Link>
<Link to={URL.ADMIN__COMMITTEE__PROGRESS_STATUS} className="btn btn_skyblue_h32 w_100">목록</Link>
</Col>
<Col xs={6} className="text-end">
<button className="btn btn_skyblue_h32 w_100"
<button className="btn btn_blue_h32 w_100"
onClick={() => updateSchedule()}
> 저장</button>

View File

@ -158,7 +158,7 @@ function SchedulesDetail(props) {
{/* <!-- 버튼영역 --> */}
<Row className="pt-3">
<Col xs={6}>
<Link to={URL.ADMIN__COMMITTEE__SCHEDULES} className="btn btn_blue_h32 w_100">목록</Link>
<Link to={URL.ADMIN__COMMITTEE__SCHEDULES} className="btn btn_skyblue_h32 w_100">목록</Link>
<button className="btn btn_red_h32 w_100 ms-2"
onClick={(e) => {
onClickDeleteSchedule(location.state?.schdulId);
@ -169,7 +169,7 @@ function SchedulesDetail(props) {
state={{
schdulId: location.state?.schdulId
}}
className="btn btn_skyblue_h32 w_100">수정</Link>
className="btn btn_blue_h32 w_100">수정</Link>
</Col>
</Row>
{/* <!--// 버튼영역 --> */}

View File

@ -460,7 +460,7 @@ function SchedulesEdit(props) {
{/* <!-- 버튼영역 --> */}
<Row className="pt-3">
<Col xs={6}>
<Link to={URL.ADMIN__COMMITTEE__SCHEDULES} className="btn btn_blue_h32 w_100">목록</Link>
<Link to={URL.ADMIN__COMMITTEE__SCHEDULES} className="btn btn_skyblue_h32 w_100">목록</Link>
{modeInfo.mode === CODE.MODE_MODIFY &&
<button className="btn btn_red_h32 w_100 ms-2"
onClick={(e) => {
@ -469,7 +469,7 @@ function SchedulesEdit(props) {
}
</Col>
<Col xs={6} className={"text-end"}>
<button className="btn btn_skyblue_h32 w_100"
<button className="btn btn_blue_h32 w_100"
onClick={() => updateSchedule()}
> 저장</button>
</Col>

View File

@ -5,6 +5,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';
@ -194,16 +196,17 @@ function StandardResearch(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__STANDARDS_RESEARCH__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__STANDARDS_RESEARCH__CREATE} className="btn btn_blue_h32 w_100">등록</Link>
</Col>
</div>
</Row>
{/* <!--/ Paging --> */}

View File

@ -1,6 +1,9 @@
import React, { useState, useEffect } from 'react';
import { Link, useLocation, useNavigate } from 'react-router-dom';
import DatePicker from "react-datepicker";
import Col from "react-bootstrap/Col";
import Row from "react-bootstrap/Row";
import LinearProgress from '@mui/material/LinearProgress';
import EgovAttachFile from 'components/EgovAttachFile';
@ -403,23 +406,23 @@ function StandardResearchEditor(props) {
{/* <!--// 게시판 --> */}
{/* <!-- 버튼영역 --> */}
<div className="board_btn_area">
<div className="left_col btn1">
<button className="btn btn_skyblue_h46 w_100"
<Row className="pt-3">
<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?.rsId);
}}>삭제</button>
}
</Col>
<Col xs={6} className="text-end">
<button className="btn btn_blue_h32 w_100"
onClick={() => createItem()}
> 저장</button>
{modeInfo.mode === CODE.MODE_MODIFY &&
<button className="btn btn_skyblue_h46 w_100"
onClick={(e) => {
onClickDelete(location.state?.rsId);
}}>삭제</button>
}
</div>
<div className="right_col btn1">
<button className="btn btn_blue_h46 w_100"
onClick={onClickList}>목록</button>
</div>
</div>
</Col>
</Row>
{/* <!--// 버튼영역 --> */}
<AlertDialogSlide confirm={confirm} setConfirm={setConfirm} />