diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp index f34e42d3..358fae56 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp @@ -101,7 +101,7 @@ 사용자명 기업구분 기업명 - 법인(사업자)번호 + 법인(사업자)번호 대표자명 전화번호 팩스번호 @@ -124,7 +124,7 @@ {USER_NM} {ENT_SE_NM} {ENT_NM} - {ENT_NO} + {ENT_REG_NO} {RPRSV_NM} {ENT_TELNO} {ENT_FXNO} diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp index 88f4d31c..38c12b52 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp @@ -74,8 +74,8 @@
- - + +
diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp index 25fffac7..eabe5ffd 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-main.jsp @@ -34,8 +34,8 @@
- - + +
@@ -103,7 +103,7 @@ {ROW_NUM} {ENT_NM} - {ENT_NO} + {ENT_REG_NO} {RPRSV_NM} {ENT_TELNO} {ENT_FXNO} @@ -218,7 +218,7 @@ // 기본 데이터 설정 $P.$findn("userId").val("${userId}"); // 사용자 ID - $P.$findn("schEntNo").val("${schEntNo}"); // 기업 번호 + $P.$findn("schEntRegNo").val("${schEntRegNo}"); // 기업 등록 번호 // 그리드 th let colContent = $P.findn("tmpltCols").content; @@ -345,7 +345,7 @@ $P.$findn("btnOK").on("click", () => { $P.fnOK(); }); // 선택 확인 // input에서 엔터(Enter) 키를 누르면 검색한다. - $P.$findn("schEntNo").onEnterPress($P.fnSearchList); // 법인(사업자)번호 + $P.$findn("schEntRegNo").onEnterPress($P.fnSearchList); // 법인(사업자) 번호 $P.$findn("schEntNm").onEnterPress($P.fnSearchList); // 기업명 // 업무 버튼 이벤트 diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01040-info.jsp index 93d6c505..f411af17 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01040-info.jsp @@ -26,8 +26,8 @@
- - + +
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 ac425d6b..74bf3106 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 @@ -392,7 +392,7 @@ // 임대기업번호가 전체라면.. if ($P.ctrl.query.entId == "" ) { - // schEntNo 의 option을 전체를 배열로 담는다. + // entRegNoList 의 option을 전체를 배열로 담는다. let arrEntId = $.map($P.$findn("entId").find("option"), function(e) { return e.value; }); if (arrEntId.length == 1) { diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02030-main.jsp index 83be38ed..03e358b4 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02030-main.jsp @@ -71,14 +71,14 @@
- - -
@@ -205,7 +205,7 @@ $P.dataTableDblClick = (dataIndex, dataKey) => { let params = { callPurpose: "update" - , hirerId: $P.ctrl.getValue("HIRER_ID") // 임차인 ID + , lsctId: $P.ctrl.getValue("LSCT_ID") // 임대차계약 ID }; $P.ctrl.getInfo(params); @@ -304,19 +304,19 @@ // 확인 $P.fnOK = () => { - // 임차인 ID - let hirerId = $P.ctrl.getValue("HIRER_ID") - // 임차인 ID 가 없다면.. return - if (!hirerId) return; + // 임대차계약 ID + let lsctId = $P.ctrl.getValue("LSCT_ID") + // 임대차계약 ID 가 없다면.. return + if (!lsctId) return; dialog.alert({ content: "현재 임대계약 정보를 저장하시겠습니까?" , onOK: () => { let params = { callPurpose: "create" + , lsctId: $P.ctrl.getValue("LSCT_ID") // 임대차계약 ID , crdnId: $P.$findn("crdnId").val() // 단속 ID , entId: $P.$findn("entId").val() // 기업 ID - , hirerId: $P.ctrl.getValue("HIRER_ID") // 임차인 ID } $P.ctrl.save(params); @@ -324,32 +324,32 @@ }); } - // 임차인 등록 + // 임대차계약 등록 $P.fnCreate = () => { let params = { callPurpose: "create" - , hirerId: null + , lsctId: null }; $P.ctrl.getInfo(params); } - // 임차인 수정 + // 임대차계약 수정 $P.fnUpdate = () => { - // 임차인 ID - let hirerId = $P.ctrl.getValue("HIRER_ID"); - // 임차인 ID 가 없다면.. return - if (!hirerId) return; + // 임대차계약 ID + let lsctId = $P.ctrl.getValue("LSCT_ID"); + // 임대차계약 ID 가 없다면.. return + if (!lsctId) return; let params = { callPurpose: "update" - , hirerId: $P.ctrl.getValue("HIRER_ID") + , lsctId: $P.ctrl.getValue("LSCT_ID") }; $P.ctrl.getInfo(params); } - // 임차인 삭제 + // 임대차계약 삭제 $P.fnRemove = () => { let selected = $P.ctrl.getDataset("selected"); // 선택 자료 @@ -364,7 +364,7 @@ let params = { callPurpose: "remove" - , hirerIds: selected.map(info => info.HIRER_ID).join(",") + , lsctIds: selected.map(info => info.LSCT_ID).join(",") }; dialog.alert({ diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp index 0b339d29..32e5e2ad 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02040-info.jsp @@ -1,7 +1,7 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> <%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> -임차인 상세 정보 +임대차계약 상세 정보
@@ -11,7 +11,7 @@
- +
@@ -174,7 +174,7 @@ } // 첨부파일 조회 - $P.fnSearchFileList = (hirerId) => { + $P.fnSearchFileList = (lsctId) => { let tableFileList = $P.findn("fileList"); // table element 찾기 let fileLength = tableFileList.rows.length; @@ -183,15 +183,15 @@ tableFileList.deleteRow(1); // table 행(Row) 삭제 } - // 임차인 등록일 경우에는 첨부파일을 조회하지 안는다.. - if (!hirerId) return; + // 임대차계약 등록일 경우에는 첨부파일을 조회하지 안는다.. + if (!lsctId) return; // 첨부파일 리스트 ajax.get({ url: "file/list.do" , data: { infoType: "120" - , infoKeys: hirerId + , infoKeys: lsctId , fetchSize: 0 } , success: (resp) => { @@ -277,7 +277,7 @@ url: wctx.url("${prefixUrl}" + "/040/removeAtchFile.do") , data: { fileIDs: fileId - , hirerId: $P.$findn("hirerId").val() + , lsctId: $P.$findn("lsctId").val() } , success: (resp) => { } }); @@ -334,7 +334,7 @@ }); } - // 임차인 등록 + // 임대차계약 등록 $P.fnSave = () => { // validate 확인 if (!AppSupport.customValidate($P.$findn("frmEdit").find("input,select,textarea"))) return; @@ -345,7 +345,7 @@ , onOK: () => { let params = new FimsFormFields($P.selectorn("frmEdit")).get(); - if (params.hirerId) { + if (params.lsctId) { params.callPurpose = "update"; } else { params.callPurpose = "create"; diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02050-main.jsp index 6d0387ea..fc24cde8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent02050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02050-main.jsp @@ -391,7 +391,7 @@ // 임대기업번호가 전체라면.. if ($P.ctrl.query.entId == "" ) { - // schEntNo 의 option을 전체를 배열로 담는다. + // entRegNoList 의 option을 전체를 배열로 담는다. let arrEntId = $.map($P.$findn("entId").find("option"), function(e) { return e.value; }); if (arrEntId.length == 1) { 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 f4b5c9d8..d04ac5c9 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 @@ -179,7 +179,7 @@ } // 첨부파일 조회 - $P.fnSearchFileList = (hirerId) => { + $P.fnSearchFileList = (lsctId) => { let tableFileList = $P.findn("fileList"); // table element 찾기 let fileLength = tableFileList.rows.length; @@ -189,14 +189,14 @@ } // 임차인 등록일 경우에는 첨부파일을 조회하지 안는다.. - if (!hirerId) return; + if (!lsctId) return; // 첨부파일 리스트 ajax.get({ url: "file/list.do" , data: { infoType: "120" - , infoKeys: hirerId + , infoKeys: lsctId , fetchSize: 0 } , success: (resp) => { diff --git a/src/main/webapp/resources/js/fims/rent/rent02020.js b/src/main/webapp/resources/js/fims/rent/rent02020.js index 403d91ae..ef840fe0 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02020.js +++ b/src/main/webapp/resources/js/fims/rent/rent02020.js @@ -21,7 +21,7 @@ function newRent02020Control(pageName, doctx="[data-doctx='rent02020']") { let formFields = new FimsFormFields(ctrl.selector("[name='frmEdit']")); formFields.set(ctrl, item); - let key = item.data.HIRER_ID; + let key = item.data.CRDN_ID; if (key != null) { pageObject[pageName].fnSearchFileList(key); } diff --git a/src/main/webapp/resources/js/fims/rent/rent02030.js b/src/main/webapp/resources/js/fims/rent/rent02030.js index e2b31f04..dc79fb61 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02030.js +++ b/src/main/webapp/resources/js/fims/rent/rent02030.js @@ -1,10 +1,10 @@ function newRent02030Control(pageName, doctx="[data-doctx='rent02030']") { let ctrl = new DatasetControl({ doctx: doctx - , prefix: "hirer" - , prefixName: "임차인" + , prefix: "lsct" + , prefixName: "임대차계약" , dataGetter: obj => obj["List"] - , keys: ["HIRER_ID"] + , keys: ["LSCT_ID"] , appendData: true , infoSize: "lg" , urls: { diff --git a/src/main/webapp/resources/js/fims/rent/rent02040.js b/src/main/webapp/resources/js/fims/rent/rent02040.js index 36f615d5..e178ddfb 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02040.js +++ b/src/main/webapp/resources/js/fims/rent/rent02040.js @@ -1,10 +1,10 @@ function newRent02040Control(pageName, doctx="[data-doctx='rent02040']") { let ctrl = new DatasetControl({ doctx: doctx - , prefix: "hirer" - , prefixName: "임차인" + , prefix: "lsct" + , prefixName: "임대차계약" , dataGetter: obj => obj["Info"] - , keys: ["HIRER_ID"] + , keys: ["LSCT_ID"] , urls: { create: "/create.do" , update: "/update.do" @@ -22,7 +22,7 @@ function newRent02040Control(pageName, doctx="[data-doctx='rent02040']") { let formFields = new FimsFormFields(ctrl.selector("[name='frmEdit']")); formFields.set(ctrl, item); - let key = item.data.HIRER_ID; + let key = item.data.LSCT_ID; if (key != null) { pageObject[pageName].fnSearchFileList(key); } diff --git a/src/main/webapp/resources/js/fims/rent/rent02050.js b/src/main/webapp/resources/js/fims/rent/rent02050.js index 13355989..e1cefcb5 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02050.js +++ b/src/main/webapp/resources/js/fims/rent/rent02050.js @@ -4,7 +4,7 @@ function newRent02050Control(pageName, doctx="[data-doctx='rent02050']") { , prefix: "lsct" , prefixName: "임대차계약" , dataGetter: obj => obj["List"] - , keys: ["LSCT_ID"] + , keys: ["LSCT_MPNG_ID"] , appendData: true , infoSize: "xl" , urls: { diff --git a/src/main/webapp/resources/js/fims/rent/rent02060.js b/src/main/webapp/resources/js/fims/rent/rent02060.js index 5a41822e..77782c0d 100644 --- a/src/main/webapp/resources/js/fims/rent/rent02060.js +++ b/src/main/webapp/resources/js/fims/rent/rent02060.js @@ -1,10 +1,10 @@ -function newRent02020Control(pageName, doctx="[data-doctx='rent02020']") { +function newRent02060Control(pageName, doctx="[data-doctx='rent02060']") { let ctrl = new DatasetControl({ doctx: doctx , prefix: "lsct" - , prefixName: "임대차계약" + , prefixName: "임대차계약 매핑" , dataGetter: obj => obj["Info"] - , keys: ["LSCT_ID"] + , keys: ["LSCT_MPNG_ID"] , urls: { load: "/list.do" } @@ -21,7 +21,7 @@ function newRent02020Control(pageName, doctx="[data-doctx='rent02020']") { let formFields = new FimsFormFields(ctrl.selector("[name='frmEdit']")); formFields.set(ctrl, item); - let key = item.data.HIRER_ID; + let key = item.data.LSCT_MPNG_ID; if (key != null) { pageObject[pageName].fnSearchFileList(key); }