From 75d320129c330a25312fc128ba06c0e4a1621f3c Mon Sep 17 00:00:00 2001 From: jjh Date: Mon, 14 Oct 2024 17:37:21 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=84=EB=8C=80=EC=B0=A8=EA=B3=84=EC=95=BD?= =?UTF-8?q?=20=EB=A7=A4=ED=95=91=20=EC=83=81=EC=84=B8=20=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=20=EC=88=98=EC=A0=95.=20=20=20-=20=EB=8B=A8=EC=86=8D=20?= =?UTF-8?q?=EC=B2=A8=EB=B6=80=ED=8C=8C=EC=9D=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/rent/rent02010-main.jsp | 4 +- .../WEB-INF/jsp/fims/rent/rent02020-info.jsp | 124 ++++++++++++++---- .../WEB-INF/jsp/fims/rent/rent02060-info.jsp | 4 +- .../resources/js/fims/rent/rent02020.js | 2 +- 4 files changed, 106 insertions(+), 28 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02010-main.jsp index 10746658..5eec1fc7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02010-main.jsp @@ -142,9 +142,9 @@ 납부자구분 납부자번호 납부자명 - 위반항목 단속법정동 단속장소 + 위반항목 단속원금 처리상태 등록일시 @@ -170,9 +170,9 @@ ************* {RTPYR_NM} - {VLTN_ARTCL} {CRDN_STDG_NM} {CRDN_PLC} + {VLTN_ARTCL} {FFNLG_CRDN_AMT} {CRDN_STTS_NM} {REG_DT} diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02020-info.jsp index bbe410f5..4896bb00 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02020-info.jsp @@ -21,28 +21,56 @@
-
+
- +
-
+
- +
+ +
+ + +
-
+
- +
-
+
- + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ + +

@@ -60,34 +88,60 @@
-
+
- +
-
+
- +
-
+
- +
-
+
- +
-
+
- +
-
+
- + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + + +
+ +
+ +
@@ -144,10 +198,13 @@ // pageObject let $P = pageObject["${pageName}"]; + $P.$findn("photoMainWrapper").addClass("w-px-1050 min-w-px-640"); + // datasetControl $P.ctrl = newRent02020Control("${pageName}", "[data-doctx=${pageName}]"); - // 파일 리스트 - $P.fileListArr = new Array(); + // 단속 사진 + $P.existFileArr = []; + $P.localUploadArr = []; // infoDialog 호출 용도(view 조회(편집불가), create 등록, update 수정) $P.callPurpose = "${callPurpose}"; @@ -160,7 +217,7 @@ $P.ctrl.urls.getInfo = wctx.url(prefixUrl + "/040/info.do"); // 임대차계약 상세 정보 조회 } - // 첨부파일 조회 + // 임대차계약 첨부 파일 조회 $P.fnSearchFileList = (lsctId) => { let tableFileList = $P.findn("fileList"); // table element 찾기 let fileLength = tableFileList.rows.length; @@ -259,6 +316,27 @@ // 3. dataset 설정 $P.ctrl.setData([${Info}]); + + // 4. 사진영역 설정 + settingPhotoMain("${pageName}" + , $P.findn("crdnId") + , function() { + return { + vhrno: $P.$findn("vhrno").val() + , vhclNm: $P.$findn("vhclNm").val() + , vhclColr: $P.$findn("vhclColr").val() + }; + } + , async function(vhrnoEl) { + return await $P.getVehicleTotalInfo(vhrnoEl); // 차적조회는 "단속정보 수정" 에서 해라... + } + ); + + // 5. 사진영역 초기화 + let crdnInfo = $P.ctrl.getCurrent(); + let existVideo = false; + + initPhotoMain("${pageName}", crdnInfo.fileList, existVideo); }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02060-info.jsp index dc500f69..49d7dc40 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02060-info.jsp @@ -174,8 +174,8 @@
- - + +
diff --git a/src/main/webapp/resources/js/fims/rent/rent02020.js b/src/main/webapp/resources/js/fims/rent/rent02020.js index 57948043..a0fb74ad 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02020.js +++ b/src/main/webapp/resources/js/fims/rent/rent02020.js @@ -42,7 +42,7 @@ function newRent02020Control(pageName, doctx="[data-doctx='rent02020']") { dialog.open({ id: dialogId - , title: ctrl.prefixName + " 정보" + , title: "임대차계약 상세 정보" , size: ctrl.infoSize , content: resp , init: () => {