|
|
|
@ -6,9 +6,32 @@
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
|
<input type="text" id="sggID--${pageName}" name="sggID" data-map="SGG_CD" hidden />
|
|
|
|
|
<input type="text" id="instCode--${pageName}" name="instCode" data-map="INST_CD" hidden />
|
|
|
|
|
|
|
|
|
|
<div class="row g-1" id="forRootAdmin--${pageName}" hidden>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="sggID--${pageName}"
|
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
시군구코드
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<input type="text" id="sggID--${pageName}" name="sggID" data-map="SGG_CD"
|
|
|
|
|
class="form-control" required maxlength="7" />
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="instCode--${pageName}"
|
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
기관코드
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<input type="text" id="instCode--${pageName}" name="instCode" data-map="INST_CD"
|
|
|
|
|
class="form-control" required maxlength="7" />
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
@ -197,6 +220,11 @@ $(document).ready(function(){
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 초기화
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.institute == 'default') {
|
|
|
|
|
$("#forRootAdmin--${pageName}").removeAttr("hidden");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var deptInfo = ${deptInfo};
|
|
|
|
|
if(deptInfo != null){
|
|
|
|
|
$("#deptID--${pageName}").attr("disabled","disabled");
|
|
|
|
@ -207,10 +235,12 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
$P.deptControl.dataset.setData([]);
|
|
|
|
|
$("#sggID--${pageName}").val(MY_INFO.info.sggCd);
|
|
|
|
|
$("#instCode--${pageName}").val(MY_INFO.info.instCd);
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.institute != 'default') {
|
|
|
|
|
$("#sggID--${pageName}").val(MY_INFO.info.sggCd);
|
|
|
|
|
$("#instCode--${pageName}").val(MY_INFO.info.instCd);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
</script>
|