|
|
@ -30,6 +30,16 @@
|
|
|
|
</c:forEach>
|
|
|
|
</c:forEach>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 민원인명 -->
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
|
|
|
<label for="cvlprNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">민원인명</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-px-160" id="cvlprNm--${pageName}" name="cvlprNm" data-map="CVLPR_NM" autocomplete="off" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 민원인 연락처 -->
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
|
|
|
<label for="cvlprCttpc--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">연락처</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-px-160" id="cvlprCttpc--${pageName}" name="cvlprCttpc" data-map="CVLPR_CTTPC" autocomplete="off" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- 상담 내용 -->
|
|
|
|
<!-- 상담 내용 -->
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="dscsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상담 내용</label>
|
|
|
|
<label for="dscsnCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상담 내용</label>
|
|
|
@ -66,20 +76,23 @@
|
|
|
|
* DatasetControl
|
|
|
|
* DatasetControl
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
var ${pageName}Control = new DatasetControl({
|
|
|
|
prefix : "cvlcptDscsnCn"
|
|
|
|
prefix : "cvlcptDscsn"
|
|
|
|
, prefixName : "민원상담내용"
|
|
|
|
, prefixName : "민원상담"
|
|
|
|
, keymapper : info => info ? info.CVLCPT_DSCSN_ID : ""
|
|
|
|
, keymapper : info => info ? info.CVLCPT_DSCSN_ID : ""
|
|
|
|
, dataGetter : obj => obj.cvlcptDscsnCn
|
|
|
|
, dataGetter : obj => obj.cvlcptDscsn
|
|
|
|
, urls : {
|
|
|
|
|
|
|
|
create : wctx.url(${pageName}PrefixUrl + "/020/create.do") // 등록
|
|
|
|
|
|
|
|
, update : wctx.url(${pageName}PrefixUrl + "/020/update.do") // 수정
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
${pageName}Control.onCurrentChange = item => {
|
|
|
|
// Dataset 셋팅
|
|
|
|
// Dataset 셋팅
|
|
|
|
${pageName}Fields.set(item);
|
|
|
|
${pageName}Fields.set(item);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 민원상담을 등록시 접수구분을 선택할 수 있게 한다.
|
|
|
|
|
|
|
|
if (item.data.CVLCPT_DSCSN_ID == null || item.data.CVLCPT_DSCSN_ID == "") {
|
|
|
|
|
|
|
|
$("#cvlcptRcptSeCd--${pageName}").prop("disabled", false);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$("#cvlcptRcptSeCd--${pageName}").prop("disabled", true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 업무구분에 따른 url 변경
|
|
|
|
// 업무구분에 따른 url 변경
|
|
|
|
${pageName}Control.urls.create = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/020/create.do");
|
|
|
|
${pageName}Control.urls.create = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/020/create.do");
|
|
|
|
${pageName}Control.urls.update = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/020/update.do");
|
|
|
|
${pageName}Control.urls.update = wctx.url(item.data.TASK_SE_CD + ${pageName}PrefixUrl + "/020/update.do");
|
|
|
@ -118,13 +131,7 @@
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 검색조건 초기값 셋팅
|
|
|
|
// 검색조건 초기값 셋팅
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
initForm${pageName} = () => {
|
|
|
|
let initDataset = ${cvlcptDscsnCn};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#cvlcptRcptSeCd--${pageName}").prop("disabled", true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (initDataset.CVLCPT_DSCSN_ID == undefined || initDataset.CVLCPT_DSCSN_ID == null) {
|
|
|
|
|
|
|
|
$("#cvlcptRcptSeCd--${pageName}").prop("disabled", false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 이벤트 설정
|
|
|
|
// 이벤트 설정
|
|
|
@ -159,8 +166,7 @@
|
|
|
|
initForm${pageName}();
|
|
|
|
initForm${pageName}();
|
|
|
|
|
|
|
|
|
|
|
|
// Data 셋팅
|
|
|
|
// Data 셋팅
|
|
|
|
${pageName}Control.setData([${cvlcptDscsnCn}]);
|
|
|
|
${pageName}Control.setData([${cvlcptDscsn}]);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// #sourceURL=sprt04020-info.jsp
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|