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 8e0d7d98..dfe86ca9 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 @@ -153,6 +153,17 @@ + + + + + +
+ + +
+ + diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp index 2f0d3f3d..5d5739e8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp @@ -140,15 +140,15 @@ - +
- - + +
- +
- - + +
diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp index 49bab476..8db47a69 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp @@ -97,15 +97,15 @@
- +
- - + +
- +
- - + +
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 50de96fc..b0a3cd72 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 @@ -71,25 +71,28 @@ - - - - - - - - - - - - - - - - - + + @@ -212,10 +215,10 @@ , size: $P.ctrl.infoSize , content: resp , init: () => { - AppSupport.setDialogZindex(); - $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); + + AppSupport.setDialogZindex(); } , onClose: () => { $P.ctrl.reload({ all: true }); } // 자료 재조회 }); @@ -257,12 +260,22 @@ let dataList = $P.ctrl.dataset; let empty = dataList.empty; - let trs = empty ? [$P.findn("tmpltNotFound").innerHTML] : - dataList.inStrings($P.findn("tmpltRows").innerHTML - , (str, dataItem) => str - .replace(/{onclick}/gi, "pageObject['${pageName}'].dataTableClick('" + dataItem.getValue("MPNG_ID") + "');") - .replace(/{ondblclick}/gi, "pageObject['${pageName}'].dataTableDblClick('" + dataItem.getValue("MPNG_ID") + "');") - ); + // 업무별 DataTables(그리드) tr, td + let foundContent = $P.findn("tmpltRows").content; + let foundTr = $(foundContent).find("tr")[0].cloneNode(false); + let foundTds = $(foundContent).find(".cmn"); + + foundTds.each(function() { + foundTr.appendChild(this.cloneNode(true)); + }); + + let replacer = (str, dataItem) => str + .replace(/{onclick}/gi, "pageObject['${pageName}'].dataTableClick('" + dataItem.getValue("MPNG_ID") + "');") + .replace(/{ondblclick}/gi, "pageObject['${pageName}'].dataTableDblClick('" + dataItem.getValue("MPNG_ID")+ "');"); + + let trs = empty ? + [$P.findn("tmpltNotFound").content.querySelector(".cmn").outerHTML] + : dataList.inStrings(foundTr.outerHTML, replacer); let noMore = (dataList.length >= totalSize); let initScroll = ($P.ctrl.query.pageNum < 2); @@ -329,12 +342,33 @@ // 화면 초기화 $P.findn("frmSearch").reset(); - // dataset 초기화 - $P.ctrl.dataset.clear(); + // input, select 초기화 + let searchForm = $P.$findn("frmSearch"); + searchForm.find("input[type='radio']").not("[name='taskSeCd']").prop("checked", false); + searchForm.find("input[type='checkbox']").prop("checked", false); + searchForm.find("input[type='text']").val(""); + searchForm.find("input[type='hidden']").val(""); + searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); }); + + AppSupport.initDatepicker($P.findn("frmSearch")); // 달력 초기화 + AppSupport.initDetailSearchButton($P.findn("frmSearch")); // 상세검색 버튼 화살표 // 기본 데이터 설정 $P.$findn("userId").val("${userId}"); // 사용자 ID $P.$findn("schUserAcnt").val("${userAcnt}"); // 사용자 계정 + + // dataset 초기화 + $P.ctrl.dataset.clear(); + + // 그리드 th + let colContent = $P.findn("tmpltCols").content; + let cols = $(colContent).find(".cmn"); + let colsOuterHTML = ""; + + cols.each(function() { + colsOuterHTML += this.outerHTML; + }); + $P.findn("tableRspns").changeColumn(colsOuterHTML); } // 검색 버튼 이벤트 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 new file mode 100644 index 00000000..96dbc172 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent02010-main.jsp @@ -0,0 +1,507 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> + +임대계약서 관리 + + +
+ +
+
+ +
+ + + + + +
+ + + +
+ + + + + + + + + +
+ + +
+ +
    +
+
+ + + + + +
+
+ + + +
+
+ + + + + + + + + + + +
+ + + + + + + +
+ + + +