|
|
@ -6,11 +6,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
<input type="text" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" hidden />
|
|
|
|
|
|
|
|
<input type="text" id="ntcId--${pageName}" name="ntcId" data-map="NTC_ID" hidden />
|
|
|
|
<input type="text" id="ntcId--${pageName}" name="ntcId" data-map="NTC_ID" hidden />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<label for="sggCd--${pageName}"
|
|
|
|
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
|
|
|
|
시군구
|
|
|
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<select id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" class="form-select">
|
|
|
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
|
|
|
<c:forEach items="${sggList}" var="item">
|
|
|
|
|
|
|
|
<c:if test="${item.SGG_CD ne 'default'}">
|
|
|
|
|
|
|
|
<option value="${item.SGG_CD}">${item.SGG_NM}</option>
|
|
|
|
|
|
|
|
</c:if>
|
|
|
|
|
|
|
|
</c:forEach>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="ntcTtl--${pageName}"
|
|
|
|
<label for="ntcTtl--${pageName}"
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
@ -150,18 +163,21 @@ $(document).ready(function(){
|
|
|
|
* 초기화
|
|
|
|
* 초기화
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
var ntcInfo = ${ntcInfo};
|
|
|
|
var ntcInfo = ${ntcInfo};
|
|
|
|
if(ntcInfo != null){
|
|
|
|
|
|
|
|
$P.ntcControl.dataset.setData([ntcInfo]);
|
|
|
|
if(ntcInfo == null){
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.ntcControl.dataset.setData([]);
|
|
|
|
$P.ntcControl.dataset.setData([]);
|
|
|
|
$("#sggCd--${pageName}").val(MY_INFO.info.sggCd);
|
|
|
|
|
|
|
|
$("#btnRemove--${pageName}").attr("hidden","hidden");
|
|
|
|
$("#btnRemove--${pageName}").attr("hidden","hidden");
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.ntcControl.dataset.setData([ntcInfo]);
|
|
|
|
|
|
|
|
$("#sggCd--${pageName}").attr("disabled","disabled");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.institute != "default"){
|
|
|
|
|
|
|
|
$("#btnSave--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
$("#btnRemove--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.institute != "default"){
|
|
|
|
|
|
|
|
$("#btnSave--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
$("#btnRemove--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|