From 57e5e8c71a1684ba807c01fb4425c77f32ab2fce Mon Sep 17 00:00:00 2001 From: jjh Date: Tue, 13 Aug 2024 15:07:50 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EB=B3=84=EC=B4=9D=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20-=20=EB=8B=A8=EC=86=8D=EC=A0=95=EB=B3=B4=20=ED=83=AD=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 37 +- .../WEB-INF/jsp/fims/rent/rent01010-main.jsp | 14 +- .../WEB-INF/jsp/fims/rent/rent01020-info.jsp | 33 +- .../WEB-INF/jsp/fims/rent/rent01030-info.jsp | 42 +- .../WEB-INF/jsp/fims/sprt/sprt02010-main.jsp | 687 ++++--- .../WEB-INF/jsp/fims/sprt/sprt02020-info.jsp | 1646 +++++++++-------- 6 files changed, 1244 insertions(+), 1215 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp index 9fb0fd6c..05355fa0 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp @@ -112,6 +112,21 @@ + +
+ + +
+ +
+ + +
+ +
+ + +
@@ -26,37 +26,37 @@
- - + +
- - + +
- - + +
- +
- +
- +
- +
- +
@@ -185,9 +185,9 @@ , size: "lg" , content: template , init: () => { - $("#searchAddrCallback").val("pageObject['${pageName}'].callbackSearchAddr"); - setDialogZindex(); + + $("#searchAddrCallback").val("pageObject['${pageName}'].callbackSearchAddr"); } }); } @@ -195,13 +195,11 @@ // 임대기업 등록 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; dialog.alert({ content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?" - , onOK: () => { - $P.ctrl.save($P.formFields.get()); // formFields - } + , onOK: () => { $P.ctrl.save($P.formFields.get()); } // formFields }); } @@ -220,9 +218,6 @@ $P.initForm = () => { // 화면 초기화 $P.find("frmEdit").reset(); - - // dataset 설정 - $P.ctrl.setData([${Info}]); } /************************************************************************** @@ -231,8 +226,11 @@ // 1. 이벤트 설정 $P.setEvent(); - // 2. 초기 설정 + // 2. 초기 화면 설정 $P.initForm(); + + // 3. dataset 설정 + $P.ctrl.setData([${Info}]); }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp index 0b5671ad..dae20067 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02010-main.jsp @@ -28,8 +28,8 @@
+ -
@@ -143,353 +143,340 @@ // 화면에 Dataset 셋팅 $P.formFields.set($P.mainCtrl, item); + let key = item.data.CRDN_ID; + if ($P.callControlName != "noControlName") { $P.fnChangeCountStauts(); // 건수 표기 } - // 자료 수정 - $P.fnUseDataEdit(item); + $P.fnUseDataEdit(item); // 자료 수정 } - /************************************************************************** - * 사용자 함수(function) - **************************************************************************/ - // 자료 재조회 - $P.fnRefreshList = (params) => { - if (!params) return; - - ajax.get({ - url: wctx.url(params.taskSeCd + "/sprt/sprt02/010/main.do") - , headers: { Accept: "application/json; charset=utf-8" } // json - , data: params || {} - , success: resp => { - if (resp.totalInfo) { - // 최상단 단속 Data 셋팅 + /************************************************************************** + * 사용자 함수(function) + **************************************************************************/ + // 자료 재조회 + $P.fnRefreshList = (params) => { + if (!params) return; + + ajax.get({ + url: wctx.url(params.taskSeCd + "/sprt/sprt02/010/main.do") + , headers: { Accept: "application/json; charset=utf-8" } // json + , data: params || {} + , success: resp => { + if (resp.totalInfo) { + // 최상단 단속 Data 셋팅 $P.mainCtrl.setData([resp.totalInfo]); - if ($P.activeTabIndex == 0) { - $P.fnCrdnPayerInfo(); // 단속 납부자 Data 셋팅 - } else if ($P.activeTabIndex == 1) { - $P.fnOpnnSbmsnInfo(); // 의견제출 정보 - } else if ($P.activeTabIndex == 2) { - $P.fnSndngInfo(); // 발송 반송 정보 - } else if ($P.activeTabIndex == 3) { - $P.fnPrcsInfo(); // 처리 상세 정보 - } else if ($P.activeTabIndex == 4) { - $P.fnLevyInfo(); // 부과체납 정보 - } else if ($P.activeTabIndex == 5) { - $P.fnRcvmtInfo(); // 수납 정보 - } else if ($P.activeTabIndex == 6) { - $P.fnCvlcptDscsnInfo(); // 민원상담 정보 - } - } - } - }); - } - - // 자료 수정 가능 여부 - $P.fnUseDataEdit = (item) => { - // 삭제 자료일 경우 빨간색으로 변경 - let elem = document.getElementById("crdnSttsNm--${pageName}"); - - if (item.data.CRDN_STTS_CD == "99") { - elem.classList.remove("text-primary"); - elem.classList.add("text-danger"); - } else { - elem.classList.remove("text-danger"); - elem.classList.add("text-primary"); - } - } - - // - $P.fnClose = (isDataReLoad) => { - dialog.close($P.selfDlgId()); - - if (isDataReLoad && $P.callControlName != "noControlName") { - $P.callControl._load(); - } - } - - /************************************************************************** - * 네이게이션 Event - **************************************************************************/ - // 건수 표기 - $P.fnChangeCountStauts = () => { + if ($P.activeTabIndex == 0) { + $P.fnCrdnPayerInfo(); // 단속 납부자 Data 셋팅 + } else if ($P.activeTabIndex == 1) { + $P.fnOpnnSbmsnInfo(); // 의견제출 정보 + } else if ($P.activeTabIndex == 2) { + $P.fnSndngInfo(); // 발송 반송 정보 + } else if ($P.activeTabIndex == 3) { + $P.fnPrcsInfo(); // 처리 상세 정보 + } else if ($P.activeTabIndex == 4) { + $P.fnLevyInfo(); // 부과체납 정보 + } else if ($P.activeTabIndex == 5) { + $P.fnRcvmtInfo(); // 수납 정보 + } else if ($P.activeTabIndex == 6) { + $P.fnCvlcptDscsnInfo(); // 민원상담 정보 + } + } + } + }); + } + + // 자료 수정 가능 여부 + $P.fnUseDataEdit = (item) => { + // 삭제 자료일 경우 빨간색으로 변경 + let elem = document.getElementById("crdnSttsNm--${pageName}"); + + if (item.data.CRDN_STTS_CD == "99") { + elem.classList.remove("text-primary"); + elem.classList.add("text-danger"); + } else { + elem.classList.remove("text-danger"); + elem.classList.add("text-primary"); + } + } + + // + $P.fnClose = (isDataReLoad) => { + dialog.close($P.selfDlgId()); + + if (isDataReLoad && $P.callControlName != "noControlName") { + $P.callControl._load(); + } + } + + /************************************************************************** + * 네이게이션 Event + **************************************************************************/ + // 건수 표기 + $P.fnChangeCountStauts = () => { + let dataItems = $P.callControl.dataset._items; + + // $P.curDataIndex 에 값이 없다면.. + if ($P.curDataIndex == null) { + let curCrdnId = $P.mainCtrl.getValue("CRDN_ID"); + + for (iLoop = 0; iLoop < dataItems.length; iLoop++) { + if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { + $P.curDataIndex = iLoop; + break; + } + } + } + + let viewNumber = $P.curDataIndex + 1; + + // 표시 + $P.$find("countStauts").val(viewNumber + " of " + dataItems.length); + } + + // 이전 자료 조회 + $P.fnPrev = () => { let dataItems = $P.callControl.dataset._items; + let curCrdnId = $P.mainCtrl.getValue("CRDN_ID"); - // $P.curDataIndex 에 값이 없다면.. - if ($P.curDataIndex == null) { - let curCrdnId = $P.mainCtrl.getValue("CRDN_ID"); - - for (iLoop = 0; iLoop < dataItems.length; iLoop++) { - if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { - $P.curDataIndex = iLoop; - break; - } - } - } - - let viewNumber = $P.curDataIndex + 1; - - $P.$find("countStauts").val(viewNumber + " of " + dataItems.length); - } - - // 이전 자료 조회 - $P.fnPrev = () => { - let dataItems = $P.callControl.dataset._items; - let curCrdnId = $P.mainCtrl.getValue("CRDN_ID"); - - // 초기 값은 callControl dataset 의 총 건수 - 1 - if ($P.curDataIndex == null) { - $P.curDataIndex = dataItems.length - 1; - } - - for (iLoop = $P.curDataIndex; iLoop >= 0; iLoop--) { - if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { - if (iLoop - 1 < 0) return; // 종료 - - $P.curDataIndex = iLoop - 1; - break; - } - } - - let crdnId = dataItems[$P.curDataIndex].data.CRDN_ID; - // 단속 ID 가 없다면.. return - if (crdnId == null || crdnId == "") return; - - let params = { - callPurpose: "view" - , sggCd: dataItems[$P.curDataIndex].data.SGG_CD - , taskSeCd: dataItems[$P.curDataIndex].data.TASK_SE_CD - , crdnId: crdnId - , delYn: "N" - }; - - $P.fnRefreshList(params); - } - - // 다음 자료 조회 - $P.fnNext = () => { - let dataItems = $P.callControl.dataset._items; - let curCrdnId = $P.mainCtrl.getValue("CRDN_ID"); - - // 초기 값은 0 - if ($P.curDataIndex == null) { - $P.curDataIndex = 0; - } - - for (iLoop = $P.curDataIndex; iLoop < dataItems.length; iLoop++) { - if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { - if (iLoop + 1 >= dataItems.length) return; // 종료 - - $P.curDataIndex = iLoop + 1; - break; - } - } - - let crdnId = dataItems[$P.curDataIndex].data.CRDN_ID; - // 단속 ID 가 없다면.. return - if (crdnId == null || crdnId == "") return; - - let params = { - callPurpose: "view" - , sggCd: dataItems[$P.curDataIndex].data.SGG_CD - , taskSeCd: dataItems[$P.curDataIndex].data.TASK_SE_CD - , crdnId: crdnId - , delYn: "N" - }; - - $P.fnRefreshList(params); - } - - /************************************************************************** - * 탭 clickEvent - **************************************************************************/ - // 단속 정보 - $P.fnCrdnPayerInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 0; - - let params = { - callPurpose: "view" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/020/info.do") - , data: params || {} - , success: resp => { - $("#crdnPayerInfo").html(resp); - } - }); - } - - // 의견제출 정보 - $P.fnOpnnSbmsnInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 1; - - let params = { - callPurpose: "view" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/030/info.do") - , data: params || {} - , success: resp => { - $("#opnnSbmsnInfo").html(resp); - } - }); - } - - // 발송 반송 정보 - $P.fnSndngInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 2; - - let params = { - callPurpose: "view" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/040/info.do") - , data: params || {} - , success: resp => { - $("#sndngInfo").html(resp); - } - }); - } - - // 처리 정보 - $P.fnPrcsInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 3; - - let params = { - callPurpose: "view" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , rtpyrId: $P.mainCtrl.getValue("RTPYR_ID") - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/050/info.do") - , data: params || {} - , success: resp => { - $("#prcsInfo").html(resp); - } - }); - } - - // 부과체납 정보 - $P.fnLevyInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 4; - - let params = { - callPurpose: "view" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/060/info.do") - , data: params || {} - , success: resp => { - $("#levyInfo").html(resp); - } - }); - } - - // 수납 정보 - $P.fnRcvmtInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 5; - - let params = { - callPurpose: "view" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/070/info.do") - , data: params || {} - , success: resp => { - $("#rcvmtInfo").html(resp); - } - }); - } - - // 민원상담 정보 - $P.fnCvlcptDscsnInfo = () => { - let crdnId = $P.mainCtrl.getValue("CRDN_ID"); - // 단속 ID 가 없다면.. return - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - - // 탭 Index - $P.activeTabIndex = 6; - - let params = { - callPurpose: "view" - , inquiryCondition: "crdnId_vhrno" - , sggCd: $P.mainCtrl.getValue("SGG_CD") - , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") - , crdnId: crdnId - , vhrno: $P.mainCtrl.getValue("VHRNO") - , delYn: "N" - }; - - ajax.get({ - url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/080/info.do") - , data: params || {} - , success: resp => { - $("#cvlcptDscsnInfo").html(resp); - } - }); - } + // 초기 값은 callControl dataset 의 총 건수 - 1 + if ($P.curDataIndex == null) { + $P.curDataIndex = dataItems.length - 1; + } + + for (iLoop = $P.curDataIndex; iLoop >= 0; iLoop--) { + if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { + if (iLoop - 1 < 0) return; // 종료 + + $P.curDataIndex = iLoop - 1; + break; + } + } + + let crdnId = dataItems[$P.curDataIndex].data.CRDN_ID; + // 단속 ID 가 없다면.. return + if (crdnId == null || crdnId == "") return; + + let params = { + callPurpose: "view" + , sggCd: dataItems[$P.curDataIndex].data.SGG_CD + , taskSeCd: dataItems[$P.curDataIndex].data.TASK_SE_CD + , crdnId: dataItems[$P.curDataIndex].data.CRDN_ID + , delYn: "N" + }; + + $P.fnRefreshList(params); + } + + // 다음 자료 조회 + $P.fnNext = () => { + let dataItems = $P.callControl.dataset._items; + let curCrdnId = $P.mainCtrl.getValue("CRDN_ID"); + + // 초기 값은 0 + if ($P.curDataIndex == null) { + $P.curDataIndex = 0; + } + + for (iLoop = $P.curDataIndex; iLoop < dataItems.length; iLoop++) { + if (dataItems[iLoop].data.CRDN_ID == curCrdnId) { + if (iLoop + 1 >= dataItems.length) return; // 종료 + + $P.curDataIndex = iLoop + 1; + break; + } + } + + let crdnId = dataItems[$P.curDataIndex].data.CRDN_ID; + // 단속 ID 가 없다면.. return + if (crdnId == null || crdnId == "") return; + + let params = { + callPurpose: "view" + , sggCd: dataItems[$P.curDataIndex].data.SGG_CD + , taskSeCd: dataItems[$P.curDataIndex].data.TASK_SE_CD + , crdnId: dataItems[$P.curDataIndex].data.CRDN_ID + , delYn: "N" + }; + + $P.fnRefreshList(params); + } + + /************************************************************************** + * 탭 clickEvent + **************************************************************************/ + // 단속 정보 + $P.fnCrdnPayerInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 0; + + let params = { + callPurpose: "view" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/020/info.do") + , data: params || {} + , success: (resp) => { $("#crdnPayerInfo").html(resp); } + }); + } + + // 의견제출 정보 + $P.fnOpnnSbmsnInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 1; + + let params = { + callPurpose: "view" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/030/info.do") + , data: params || {} + , success: (resp) => { $("#opnnSbmsnInfo").html(resp); } + }); + } + + // 발송 반송 정보 + $P.fnSndngInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 2; + + let params = { + callPurpose: "view" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/040/info.do") + , data: params || {} + , success: (resp) => { $("#sndngInfo").html(resp); } + }); + } + + // 처리 정보 + $P.fnPrcsInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 3; + + let params = { + callPurpose: "view" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , rtpyrId: $P.mainCtrl.getValue("RTPYR_ID") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/050/info.do") + , data: params || {} + , success: (resp) => { $("#prcsInfo").html(resp); } + }); + } + + // 부과체납 정보 + $P.fnLevyInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 4; + + let params = { + callPurpose: "view" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/060/info.do") + , data: params || {} + , success: (resp) => { $("#levyInfo").html(resp); } + }); + } + + // 수납 정보 + $P.fnRcvmtInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 5; + + let params = { + callPurpose: "view" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/070/info.do") + , data: params || {} + , success: (resp) => { $("#rcvmtInfo").html(resp); } + }); + } + + // 민원상담 정보 + $P.fnCvlcptDscsnInfo = () => { + let crdnId = $P.mainCtrl.getValue("CRDN_ID"); + // 단속 ID 가 없다면.. return + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; + + // 탭 Index + $P.activeTabIndex = 6; + + let params = { + callPurpose: "view" + , inquiryCondition: "crdnId_vhrno" + , sggCd: $P.mainCtrl.getValue("SGG_CD") + , taskSeCd: $P.mainCtrl.getValue("TASK_SE_CD") + , crdnId: $P.mainCtrl.getValue("CRDN_ID") + , vhrno: $P.mainCtrl.getValue("VHRNO") + , delYn: "N" + }; + + ajax.get({ + url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/080/info.do") + , data: params || {} + , success: resp => { $("#cvlcptDscsnInfo").html(resp); } + }); + } /************************************************************************** * 초기 셋팅 @@ -515,20 +502,20 @@ $P.curDataIndex = null; } - /************************************************************************** - * script 진입시 실행 함수 - **************************************************************************/ - // 1. 이벤트 설정 - $P.setEvent(); + /************************************************************************** + * script 진입시 실행 함수 + **************************************************************************/ + // 1. 이벤트 설정 + $P.setEvent(); - // 2. 기본 데이터 설정 - $P.initData(); + // 2. 기본 데이터 설정 + $P.initData(); - // 3. Dataset 설정 - $P.mainCtrl.setData([${totalInfo}]); + // 3. Dataset 설정 + $P.mainCtrl.setData([${totalInfo}]); - // 4. 단속, 납부자 정보 조회 - $P.fnCrdnPayerInfo(); - }); + // 4. 단속, 납부자 정보 조회 + $P.fnCrdnPayerInfo(); + }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp index be6de082..c29d3573 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp @@ -6,40 +6,40 @@
-
- - + + +
- + - - - - - - - -
@@ -47,177 +47,177 @@
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - ~ - + + ~ +
- - + +
- - + +
- - % + + %
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
@@ -226,8 +226,8 @@ @@ -236,8 +236,8 @@ @@ -246,8 +246,8 @@ @@ -260,13 +260,13 @@
- + - - @@ -275,54 +275,54 @@
- - + +
- - + +
- - + +
- - + +
- - + +
- - + +
- - - + + +
- - + +
- - + +
- - + +
@@ -331,711 +331,749 @@
- -