|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
<div class="row g-3 mt-1 mb-3">
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label class="w-px-140 col-form-label text-sm-end pe-2" for="">시군구명</label>
|
|
|
|
|
<input name="sggCd" type="hidden" />
|
|
|
|
|
<input name="sggID" type="hidden" />
|
|
|
|
|
<input name="sggNm" type="text" class="form-control" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
@ -270,12 +270,12 @@ $(document).ready(function(){
|
|
|
|
|
ajax.get({
|
|
|
|
|
url: wctx.url("mngt/mngt03/010/getSggInfo.do"),
|
|
|
|
|
data: {
|
|
|
|
|
sggCd : $P.curSggCd
|
|
|
|
|
sggID : $P.curSggCd
|
|
|
|
|
},
|
|
|
|
|
success : function(resp, textStatus, jqXHR) {
|
|
|
|
|
$P.sggInfo = resp.sggInfo;
|
|
|
|
|
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='sggCd']").val($P.sggInfo.SGG_CD);
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='sggID']").val($P.sggInfo.SGG_CD);
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='sggNm']").val($P.sggInfo.SGG_NM);
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='instCd']").val($P.sggInfo.INST_CD);
|
|
|
|
|
$("#mainForm--${pageName}").find("[name='instNm']").val($P.sggInfo.INST_NM);
|
|
|
|
@ -485,7 +485,7 @@ $(document).ready(function(){
|
|
|
|
|
ajax.post({
|
|
|
|
|
url: wctx.url("mngt/mngt03/010/createTaskStng.do"),
|
|
|
|
|
data: {
|
|
|
|
|
sggCd : $("#mainForm--${pageName}").find("[name='sggCd']").val(),
|
|
|
|
|
sggCd : $("#mainForm--${pageName}").find("[name='sggID']").val(),
|
|
|
|
|
taskSeCd : taskSeCd
|
|
|
|
|
},
|
|
|
|
|
success: (resp) => {
|
|
|
|
@ -505,7 +505,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
$P.fnSaveForTask = (el) => {
|
|
|
|
|
var taskSeCd = el.dataset.task;
|
|
|
|
|
var sggCd = $("#mainForm--${pageName}").find("[name='sggCd']").val();
|
|
|
|
|
var sggCd = $("#mainForm--${pageName}").find("[name='sggID']").val();
|
|
|
|
|
|
|
|
|
|
var formData = new FormData($("#"+taskSeCd+"Form--${pageName}")[0]);
|
|
|
|
|
formData.append("taskSeCd",taskSeCd);
|
|
|
|
@ -559,7 +559,7 @@ $(document).ready(function(){
|
|
|
|
|
row.spclBizCd = $($P.fnGetElement(this,"spclBizCd")).val();
|
|
|
|
|
row.spclBizNm = $($P.fnGetElement(this,"spclBizNm")).val();
|
|
|
|
|
|
|
|
|
|
row.sggCd = formData.get("sggCd");
|
|
|
|
|
row.sggCd = formData.get("sggID");
|
|
|
|
|
row.taskSeCd = formData.get("taskSeCd");
|
|
|
|
|
|
|
|
|
|
rowArr.push(row);
|
|
|
|
|