From 78e07d24789c9f01788161339423ec948eba79fb Mon Sep 17 00:00:00 2001 From: Kurt92 Date: Wed, 7 Dec 2022 16:10:34 +0900 Subject: [PATCH] fix: fimsTotal form change --- .../fims/biz/common/popup/fimsTotalPopup.jsp | 150 +++++++++++++++--- .../jsp/fims/biz/ec/ecNatlNewspaperPopup.jsp | 3 +- .../WEB-INF/jsp/fims/biz/rt/rt0100MgtForm.jsp | 4 +- 3 files changed, 128 insertions(+), 29 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/common/popup/fimsTotalPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/common/popup/fimsTotalPopup.jsp index c800702f..5615bfd5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/common/popup/fimsTotalPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/common/popup/fimsTotalPopup.jsp @@ -19,18 +19,130 @@

개별총정보

- - -
- -
전체 ㅣ
-
+
+ +
+ +
전체 ㅣ
+
+
+

위반정보

- + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <%-- --%> + <%-- --%> + <%-- --%> + <%-- --%> + <%-- --%> + <%-- --%> + + +
상세
기관코드 + + 시스템코드 + + 민원구분 + +
민원신청번호 + + 민원접수번호 + + 민원신청인명 + +
신청인이메일 + + 신청인우편번호 + + 신청인주소 + +
신청인핸드폰 + + 신청인전화 + + 처리상태 + +
민원신청제목 + +
민원신청내용 + +
민원신청일시 + + 민원처리기간 + + 민원등록일시 + + +
등록일시--%> + <%-- --%> + <%-- ' readonly>--%> + <%-- 등록인--%> + <%-- --%> + <%--
+ + <%--@@ -138,11 +250,14 @@ -
+ --%>

위반사진

+
+ +
@@ -199,23 +314,6 @@ return true; } - ,pagePopup: function(flag, params){ - let url = ''; - let popTitle; - let popOption = {width: 1200, height:900}; - switch (flag) { - case "add": //등록 - popTitle = "자료등록"; - break; - case "detail": //상세 - popTitle = "개별총정보"; - break; - default: - break; - } - CmmPopup.open(url, params, popOption, popTitle); - } - }; /************************************************************************** @@ -240,7 +338,7 @@ $('#prevData').on('click', () => { window.opener.clickDataChangeBtn('prev'); - if(window.opener.lastPage == ture) alert('no more prev view'); + if(window.opener.lastPage == true) alert('no more prev view'); }); $('#nextData').on('click', () => { window.opener.clickDataChangeBtn('next'); diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperPopup.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperPopup.jsp index 5734fbf1..a09fc87e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperPopup.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/ec/ecNatlNewspaperPopup.jsp @@ -225,7 +225,6 @@ ******************************* */ const fnBiz = { downloadImg: () => { - cmmAjax({ showSuccessMsg: false ,url: '' @@ -244,7 +243,7 @@ .then((response) => response.blob()) .then((blob) => { const url = URL.createObjectURL(blob); - + console.log(url); var x = document.createElement("img"); x.setAttribute("src", url); //x.style = 'width:150px; display: block;'; diff --git a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0100MgtForm.jsp b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0100MgtForm.jsp index befb005a..64b35805 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0100MgtForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/biz/rt/rt0100MgtForm.jsp @@ -75,10 +75,12 @@ lastPageId = GRID.store.data.rawData[pageId.rowKey]; if(param == 'next') {pageId = GRID.store.data.rawData[pageId.rowKey+1];} else {pageId = GRID.store.data.rawData[pageId.rowKey-1];} + console.log(pageId); if(pageId == undefined){ pageId = lastPageId; - return lastPage = true; + lastPage = true; } else { + lastPage = false; fnBiz.pagePopup('detail', {regltId: pageId.regltId}); } }