|
|
@ -12,14 +12,14 @@
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">민원상담 정보</label>
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">민원상담 정보</label>
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" class="btn btn-primary" id="btnCreateCvlcptDscsnCn--${pageName}" title="민원 상담 등록" onclick="fnCreateCvlcptDscsnCn${pageName}();">
|
|
|
|
<button type="button" class="btn btn-primary" id="btnCreate--${pageName}" title="민원상담 등록" onclick="fnCreate${pageName}();">
|
|
|
|
민원 상담 등록
|
|
|
|
민원상담 등록
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-primary" id="btnUpdateCvlcptDscsnCn--${pageName}" title="민원 상담 수정" onclick="fnUpdateCvlcptDscsnCn${pageName}();">
|
|
|
|
<button type="button" class="btn btn-primary" id="btnUpdate--${pageName}" title="민원상담 수정" onclick="fnUpdate${pageName}();">
|
|
|
|
민원 상담 수정
|
|
|
|
민원상담 수정
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-primary" id="btnRemoveCvlcptDscsnCn--${pageName}" title="민원 상담 삭제" onclick="fnRemoveCvlcptDscsnCn${pageName}();">
|
|
|
|
<button type="button" class="btn btn-primary" id="btnRemove--${pageName}" title="민원상담 삭제" onclick="fnRemove${pageName}();">
|
|
|
|
민원 상담 삭제
|
|
|
|
민원상담 삭제
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span> <!-- <span class="container-window-btn-right"> -->
|
|
|
|
</span> <!-- <span class="container-window-btn-right"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
@ -154,6 +154,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
// 삭제 callback
|
|
|
|
${pageName}Control.onRemove = (resp) => {
|
|
|
|
${pageName}Control.onRemove = (resp) => {
|
|
|
|
|
|
|
|
let btnTitle = $("#btnRemove--${pageName}").attr("title");
|
|
|
|
|
|
|
|
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert(showMessage);
|
|
|
|
|
|
|
|
|
|
|
|
if (resp.saved) {
|
|
|
|
if (resp.saved) {
|
|
|
|
fnDataRefreshInfo(); // 자료 재조회
|
|
|
|
fnDataRefreshInfo(); // 자료 재조회
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -233,7 +238,7 @@
|
|
|
|
* function
|
|
|
|
* function
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 민원 상담 내용 등록
|
|
|
|
// 민원 상담 내용 등록
|
|
|
|
fnCreateCvlcptDscsnCn${pageName} = () => {
|
|
|
|
fnCreate${pageName} = () => {
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
@ -254,7 +259,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 상담 내용 수정
|
|
|
|
// 민원 상담 내용 수정
|
|
|
|
fnUpdateCvlcptDscsnCn${pageName} = () => {
|
|
|
|
fnUpdate${pageName} = () => {
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
@ -277,7 +282,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 상담 내용 삭제
|
|
|
|
// 민원 상담 내용 삭제
|
|
|
|
fnRemoveCvlcptDscsnCn${pageName} = () => {
|
|
|
|
fnRemove${pageName} = () => {
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
|