|
|
|
@ -13,10 +13,10 @@
|
|
|
|
|
<c:if test="${isPublicOfficer}">
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label is="name-label" for="cntnSeCd"
|
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
접속구분
|
|
|
|
|
</label>
|
|
|
|
|
<select is="id-select" name="cntnSeCd" data-map="CNTN_SE_CD" class="form-select">
|
|
|
|
|
<select is="id-select" name="cntnSeCd" data-map="CNTN_SE_CD" class="form-select" required>
|
|
|
|
|
<option value="01">행정망</option>
|
|
|
|
|
<option value="02">인터넷망</option>
|
|
|
|
|
</select>
|
|
|
|
@ -165,10 +165,40 @@ $(document).ready(function(){
|
|
|
|
|
var ntcInfo = ${ntcInfo};
|
|
|
|
|
|
|
|
|
|
if(ntcInfo == null){
|
|
|
|
|
$P.$findn("sggCd").html("");
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.orgID == "ADMIN"){
|
|
|
|
|
$P.$findn("sggCd").append("<option value=''>전체</option>");
|
|
|
|
|
}
|
|
|
|
|
let selectableSggList = ${selectableSggList};
|
|
|
|
|
if(selectableSggList != null){
|
|
|
|
|
for(let i=0; i<selectableSggList.length; i++){
|
|
|
|
|
$P.$findn("sggCd").append("<option value='"+selectableSggList[i].SGG_CD+"'>"+selectableSggList[i].SGG_NM+"</option>");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ctrl.dataset.setData([]);
|
|
|
|
|
|
|
|
|
|
$P.$findn("cntnSeCd").val("${cntnSeCd}");
|
|
|
|
|
$P.$findn("cntnSeCd").attr("disabled","disabled");
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.orgID != "ADMIN"){
|
|
|
|
|
if(selectableSggList != null && selectableSggList.length > 1){
|
|
|
|
|
if("${cntnSeCd}" == "01"){
|
|
|
|
|
$P.$findn("sggCd").val(MY_INFO.orgID);
|
|
|
|
|
} else {
|
|
|
|
|
if("${upSggCd}" != ""){
|
|
|
|
|
$P.$findn("sggCd").val("${upSggCd}");
|
|
|
|
|
} else {
|
|
|
|
|
$P.$findn("sggCd").val(MY_INFO.orgID);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.$findn("btnRemove").attr("hidden","hidden");
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
ctrl.dataset.setData([ntcInfo]);
|
|
|
|
|
|
|
|
|
|
$P.$findn("sggCd").attr("disabled","disabled");
|
|
|
|
|