diff --git a/src/main/webapp/WEB-INF/views/levy/levy/list.jsp b/src/main/webapp/WEB-INF/views/levy/levy/list.jsp
index 69c9948..016da57 100644
--- a/src/main/webapp/WEB-INF/views/levy/levy/list.jsp
+++ b/src/main/webapp/WEB-INF/views/levy/levy/list.jsp
@@ -67,7 +67,8 @@
@@ -452,7 +453,15 @@
});
},
- openReviReport: function() {
+ openLeviReport: function() {
+ this.openReport("levi");
+ },
+
+ openImpltReport: function() {
+ this.openReport("implt");
+ },
+
+ openReport: function(reportType) {
// detailGrid에서 선택된 행
var detailInstance = this.detailGrid.instance;
var detailRow = null;
@@ -480,14 +489,21 @@
return;
}
- var url = '<%=request.getContextPath()%>/ubi4/levyReport.jsp'
+ // 리포트 유형에 따라 jspNm 변경
+ if (reportType === "levi") {
+ var jspNm = 'levyReport.jsp'
+ } else if (reportType === "implt") {
+ var jspNm = 'impltReport.jsp'
+ }
+
+ var url = '<%=request.getContextPath()%>/ubi4/'+jspNm
+ '?crdnYr=' + encodeURIComponent(crdnYr)
+ '&crdnNo=' + encodeURIComponent(crdnNo)
+ '&impltTaskSeCd=' + encodeURIComponent(impltTaskSeCd)
+ '&impltTrprInfoId=' + encodeURIComponent(impltTrprInfoId);
var options = "width=800,height=1000,scrollbars=yes,resizable=yes";
- window.open(url, "levyReport", options);
+ window.open(url, "openReport", options);
},
detailGrid : {
@@ -676,9 +692,14 @@
});
- // 의견서 리포트 보기 버튼 바인딩
- $("#openReviBtn").on('click', function() {
- self.openReviReport();
+ // 이행강제금 부과통지서 리포트 보기 버튼 바인딩
+ $("#openLeviBtn").on('click', function() {
+ self.openLeviReport();
+ });
+
+ // 부과내역서 리포트 보기 버튼 바인딩
+ $("#openImpltBtn").on('click', function() {
+ self.openImpltReport();
});
// 주소 찾기 버튼 클릭 이벤트
diff --git a/src/main/webapp/ubi4/impltReport.jsp b/src/main/webapp/ubi4/impltReport.jsp
new file mode 100644
index 0000000..a3c5893
--- /dev/null
+++ b/src/main/webapp/ubi4/impltReport.jsp
@@ -0,0 +1,136 @@
+<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
+<%!
+ String nullToStr(String s1, String s2) {
+ return ((s1 == null)?s2:s1);
+ }
+%>
+<%
+ String jrf = nullToStr(request.getParameter("jrf"), "impltReport.jrf");
+ String crdnYr = request.getParameter("crdnYr"); // 선택한 단속년도
+ String crdnNo = request.getParameter("crdnNo"); // 선택한 단속번호
+ String impltTaskSeCd = request.getParameter("impltTaskSeCd"); // 진행단계 코드
+ String impltTrprInfoId = request.getParameter("impltTrprInfoId"); // 이행 대상자 정보 ID
+ String arg = "crdnYr#" + crdnYr + "#" + "crdnNo#" + crdnNo + "#" + "impltTaskSeCd#" + impltTaskSeCd + "#" + "impltTrprInfoId#" + impltTrprInfoId + "#"; // 유비리포트 파라미터
+ String resId = nullToStr(request.getParameter("resId"), "UBIHTML");
+%>
+
+
+
+
+
+
+
implt Report
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/ubi4/work/impltReport.jrf b/src/main/webapp/ubi4/work/impltReport.jrf
new file mode 100644
index 0000000..10c5937
Binary files /dev/null and b/src/main/webapp/ubi4/work/impltReport.jrf differ