diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules.jsx
index 6cb7e7e..45ad396 100644
--- a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules.jsx
@@ -154,7 +154,7 @@ function Schedules(props) {
if (scheduleList.length > 0) {//일정 있는 경우
return (
- {day}
{
scheduleList.map((schedule, scheduleIdx) => {
@@ -186,7 +186,7 @@ function Schedules(props) {
key={keyIdx++}>{day}
| );
}
- } else if (day === 0) {// 이전달/다음달 구현
+ } else if (day === 0) {// 이전 달/다음 달 구현
return ( | );
} else return <>>
})
diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Detail.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Detail.jsx
index bc9484d..d597c42 100644
--- a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Detail.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Detail.jsx
@@ -67,7 +67,7 @@ function SchedulesDetail(props) {
console.log("====>>> Schdule delete= ", resp);
if (Number(resp.resultCode) === Number(CODE.RCV_SUCCESS)) {
alert("게시글이 삭제되었습니다.")
- navigate(URL.ADMIN_SCHEDULE ,{ replace: true });
+ navigate(URL.ADMIN__COMMITTEE__SCHEDULES ,{ replace: true });
} else {
// alert("ERR : " + resp.message);
navigate({pathname: URL.ERROR}, {state: {msg : resp.resultMessage}});
diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx
index bd04488..4e33042 100644
--- a/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx
+++ b/egovframe-template-simple-react-contribution/src/pages/admin/committee/Schedules/Edit.jsx
@@ -61,7 +61,7 @@ function SchedulesEdit(props) {
const classes = useStyles();
const [isShake, setShake] = useState(false);
-
+ //${location.state?.schdulId
const getDateFourteenDigit = (date) => {
return `${getYYYY_MM_DD(date).toString()} ${makeTwoDigit(date.getHours())}:${makeTwoDigit(date.getMinutes())}:${makeTwoDigit(date.getSeconds())}`;
@@ -139,8 +139,7 @@ function SchedulesEdit(props) {
}
}
- const retrieveDetail = () => {
-
+ const retrieveDetail = () => {
EgovNet.requestFetch("/schedule/init",
requestOptions,
@@ -153,7 +152,11 @@ function SchedulesEdit(props) {
if (modeInfo.mode === CODE.MODE_CREATE) {// 조회/등록이면 조회 안함
setScheduleDetail({
- ...scheduleDetail
+ ...scheduleDetail,
+ schdulBgnde: location.state.iUseDate,
+ schdulEndde: location.state.iUseDate,
+ startDate: convertDate(location.state.iUseDate),
+ endDate: convertDate(location.state.iUseDate),
});
return;
}