Compare commits
No commits in common. "ebd006154a26c2f125ad475cdd6d319e7ce4d47f" and "9f430ca7ffd1a2ce4b93ed7ba33f57c44eb57b52" have entirely different histories.
ebd006154a
...
9f430ca7ff
|
|
@ -40,9 +40,6 @@ function SchedulesEdit(props) {
|
||||||
const [schdulEnddeHH, setSchdulEnddeHH] = useState();
|
const [schdulEnddeHH, setSchdulEnddeHH] = useState();
|
||||||
const [schdulEnddeMM, setSchdulEnddeMM] = useState();
|
const [schdulEnddeMM, setSchdulEnddeMM] = useState();
|
||||||
|
|
||||||
const [scheduleInit, setScheduleInit] = useState({});
|
|
||||||
const [scheduleApiOrgApiDepthList, setScheduleApiOrgApiDepthList] = useState({ });
|
|
||||||
|
|
||||||
|
|
||||||
const initMode = () => {
|
const initMode = () => {
|
||||||
|
|
||||||
|
|
@ -91,18 +88,14 @@ function SchedulesEdit(props) {
|
||||||
EgovNet.requestFetch("/schedule/init",
|
EgovNet.requestFetch("/schedule/init",
|
||||||
requestOptions,
|
requestOptions,
|
||||||
function (resp) {
|
function (resp) {
|
||||||
setScheduleInit(
|
let rawScheduleDetail = resp;
|
||||||
resp
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
EgovNet.requestFetch("/schedule/api/org-api/depth/list?paramCodeGroup=5",
|
EgovNet.requestFetch("/schedule/api/org-api/depth/list?paramCodeGroup=5",
|
||||||
requestOptions,
|
requestOptions,
|
||||||
function (resp) {
|
function (resp) {
|
||||||
setScheduleApiOrgApiDepthList(
|
let rawScheduleDetail = resp;
|
||||||
resp
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -248,38 +241,35 @@ function SchedulesEdit(props) {
|
||||||
value={scheduleDetail.schdulSe}
|
value={scheduleDetail.schdulSe}
|
||||||
onChange={(e) => setScheduleDetail({ ...scheduleDetail, schdulSe: e.target.value })}>
|
onChange={(e) => setScheduleDetail({ ...scheduleDetail, schdulSe: e.target.value })}>
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
{scheduleInit && scheduleInit.result && scheduleInit.result.listCodes
|
<option value="1">일반회의</option>
|
||||||
&& scheduleInit.result.listCodes.map((item) => (
|
<option value="2">기준기획</option>
|
||||||
<option value={item.id}><span >{item.name}</span></option>
|
<option value="3">제개정검토</option>
|
||||||
))}
|
<option value="4">기준심의</option>
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>심의위원회<span className="req">필수</span></dt>
|
<dt>심의위원회<span className="req">필수</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label className="f_select w_250 org-group-id" htmlFor="orgGroupId">
|
<label className="f_select w_150 org-group-id" htmlFor="orgGroupId">
|
||||||
<select id="orgGroupId" name="orgGroupId" title="중요도"
|
<select id="orgGroupId" name="orgGroupId" title="중요도"
|
||||||
value={scheduleDetail.orgGroupId}
|
value={scheduleDetail.orgGroupId}
|
||||||
onChange={(e) => setScheduleDetail({ ...scheduleDetail, orgGroupId: e.target.value })}>
|
onChange={(e) => setScheduleDetail({ ...scheduleDetail, orgGroupId: e.target.value })}>
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
{scheduleInit && scheduleInit.result && scheduleInit.result.listTopOrg
|
<option value="A">높음</option>
|
||||||
&& scheduleInit.result.listTopOrg.map((item) => (
|
<option value="B">보통</option>
|
||||||
<option value={item.id}><span >{item.name}</span></option>
|
<option value="C">낮음</option>
|
||||||
))}
|
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
<label className="f_select w_250 org-under-id" htmlFor="orgUnderId">
|
<label className="f_select w_150 org-under-id" htmlFor="orgUnderId">
|
||||||
<select id="orgUnderId" name="orgUnderId" title="중요도"
|
<select id="orgUnderId" name="orgUnderId" title="중요도"
|
||||||
value={scheduleDetail.orgUnderId}
|
value={scheduleDetail.orgUnderId}
|
||||||
onChange={(e) => setScheduleDetail({ ...scheduleDetail, orgUnderId: e.target.value })}>
|
onChange={(e) => setScheduleDetail({ ...scheduleDetail, orgUnderId: e.target.value })}>
|
||||||
<option value="">선택</option>
|
<option value="">선택</option>
|
||||||
{scheduleApiOrgApiDepthList && scheduleApiOrgApiDepthList.result && scheduleApiOrgApiDepthList.result.list
|
<option value="A">높음</option>
|
||||||
&& scheduleApiOrgApiDepthList.result.list.map((item) => (
|
<option value="B">보통</option>
|
||||||
<option value={item.id}><span >{item.name}</span></option>
|
<option value="C">낮음</option>
|
||||||
))}
|
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue