|
|
@ -6,8 +6,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
<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="row g-1">
|
|
|
|
|
|
|
|
|
|
|
@ -197,6 +220,11 @@ $(document).ready(function(){
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 초기화
|
|
|
|
* 초기화
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.institute == 'default') {
|
|
|
|
|
|
|
|
$("#forRootAdmin--${pageName}").removeAttr("hidden");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var deptInfo = ${deptInfo};
|
|
|
|
var deptInfo = ${deptInfo};
|
|
|
|
if(deptInfo != null){
|
|
|
|
if(deptInfo != null){
|
|
|
|
$("#deptID--${pageName}").attr("disabled","disabled");
|
|
|
|
$("#deptID--${pageName}").attr("disabled","disabled");
|
|
|
@ -207,10 +235,12 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$P.deptControl.dataset.setData([]);
|
|
|
|
$P.deptControl.dataset.setData([]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(MY_INFO.institute != 'default') {
|
|
|
|
$("#sggID--${pageName}").val(MY_INFO.info.sggCd);
|
|
|
|
$("#sggID--${pageName}").val(MY_INFO.info.sggCd);
|
|
|
|
$("#instCode--${pageName}").val(MY_INFO.info.instCd);
|
|
|
|
$("#instCode--${pageName}").val(MY_INFO.info.instCd);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|