-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
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 53745b72..57f82f38 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
@@ -212,7 +212,6 @@
수정사용자 |
|
-
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 6d19732a..f3b14f3c 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
@@ -255,7 +255,6 @@
수정사용자 |
|
-
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 63d39faf..41da002c 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
@@ -184,7 +184,6 @@
등록사용자 |
|
-
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp
index a600ba92..9b92643c 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp
@@ -318,8 +318,6 @@
// 초기화
$P.fnReset(taskSeCd);
- // dataset 초기화
- $P.ctrl.dataset.clear();
// 업무 구분에 따른 URL 설정
$P.fnSetURL(taskSeCd);
@@ -458,10 +456,10 @@
// 이벤트 설정
$P.setEvent = () => {
// 기본 버튼 이벤트
- $P.$findn("btnReset").on("click", () => { $P.fnResetAndChangeBiz() }); // 초기화
- $P.$findn("btnSearch").on("click", () => { $P.fnSearchList() }); // 검색
- $P.$findn("btnExcel").on("click", () => { $P.fnExcel() }); // 엑셀
- $P.$findn("btnFindUser").on("click", () => $P.fnGetFindUser()); // 사용자 검색
+ $P.$findn("btnReset").on("click", () => $P.fnResetAndChangeBiz()); // 초기화
+ $P.$findn("btnSearch").on("click", () => $P.fnSearchList()); // 검색
+ $P.$findn("btnExcel").on("click", () => $P.fnExcel()); // 엑셀
+ $P.$findn("btnFindUser").on("click", () => $P.fnGetFindUser()); // 사용자 검색
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
$P.$findn("term").onEnterPress($P.fnSearchList);
@@ -484,6 +482,7 @@
$P.fnReset = (taskSeCd) => {
// 초기화
$P.findn("frmSearch").reset(); // 화면 초기화
+ $P.ctrl.dataset.clear(); // dataset 초기화
AppSupport.initDatepicker($P.findn("frmSearch")); // 달력 초기화
AppSupport.initDetailSearchButton($P.findn("frmSearch")); // 상세검색 버튼 화살표
diff --git a/src/main/webapp/resources/js/fims/epst/epst02030.js b/src/main/webapp/resources/js/fims/epst/epst02030.js
index c805f679..f51171fd 100644
--- a/src/main/webapp/resources/js/fims/epst/epst02030.js
+++ b/src/main/webapp/resources/js/fims/epst/epst02030.js
@@ -2,7 +2,7 @@ function newEpst02030Script(pageName, doctx="[data-doctx='epst02030']") {
let ctrl = new DatasetControl({
doctx: doctx
, prefix: "epostRcptReg"
- , prefixName: "우편발송"
+ , prefixName: "전자우편발송"
, dataGetter: obj => obj["List"]
, keys: ["CON_KEY"]
, appendData: true
diff --git a/src/main/webapp/resources/js/fims/epst/epst02040.js b/src/main/webapp/resources/js/fims/epst/epst02040.js
index a682615f..ebaa9f7c 100644
--- a/src/main/webapp/resources/js/fims/epst/epst02040.js
+++ b/src/main/webapp/resources/js/fims/epst/epst02040.js
@@ -2,7 +2,7 @@ function newEpst02040Script(pageName, doctx="[data-doctx='epst02040']") {
let ctrl = new DatasetControl({
doctx: doctx
, prefix: "epostRcptRegDtl"
- , prefixName: "우편발송 상세"
+ , prefixName: "전자우편발송"
, dataGetter: obj => obj["List"]
, keys: ["RGST_NMBR"]
, appendData: true
diff --git a/src/main/webapp/resources/js/fims/epst/epst02050.js b/src/main/webapp/resources/js/fims/epst/epst02050.js
new file mode 100644
index 00000000..48ba6966
--- /dev/null
+++ b/src/main/webapp/resources/js/fims/epst/epst02050.js
@@ -0,0 +1,110 @@
+function newEpst02050Script(pageName, doctx="[data-doctx='epst02050']") {
+ let ctrl = new DatasetControl({
+ doctx: doctx
+ , prefix: "epostRcptRslt"
+ , prefixName: "전자우편 접수 결과"
+ , dataGetter: obj => obj["List"]
+ , keys: ["RCPT_RSLT_ID"]
+ , appendData: true
+ , infoSize: "lg"
+ , urls: {
+ load: "/list.do"
+ }
+ , formats : {
+ EXTRI_REGYMD: dateFormat
+ , RCEPT_YMD: dateFormat
+ , RCEPT_CNT: numberFormat
+ , RCEPT_AMT: numberFormat
+ , USEFEE_AMT: numberFormat
+ , TOTPOST_PRC: numberFormat
+ , REG_DT: datetimeFormat
+ }
+ });
+
+ // 합계 Dataset
+ ctrl.dsSumAmt = new Dataset({
+ doctx: doctx
+ , prefix: "sumAmt"
+ , prefixName: "합계 금액"
+ , dataGetter: obj => obj["sumAmtList"]
+ , keys: ["DIV_KB"]
+ , appendData: true
+ , formats : {
+ RCEPT_CNT: numberFormat
+ , RCEPT_AMT: numberFormat
+ , USEFEE_AMT: numberFormat
+ , TOTPOST_PRC: numberFormat
+ }
+ });
+
+ // 검색 조건
+ ctrl.query = { pageNum: 1, fetchSize: DEFAULT_FETCH_SIZE }; // 1 페이지당 자료 건수 index.jsp에서 확인
+
+ /**************************************************************************
+ * DatasetControl Events
+ **************************************************************************/
+ // Dataset 변경 이벤트
+ ctrl.onDatasetChange = (obj, option) => {
+ // 데이터 셋
+ let dataList = ctrl.dataset;
+ let empty = dataList.empty;
+
+ let replacer = (str, dataItem) => str
+ .replace(/{onclick}/gi, "pageObject['" + pageName + "'].dataTableClick('{data-index}');");
+
+ let trs = empty ?
+ [ctrl.find("[name='tmpltNotFound']").innerHTML]
+ : dataList.inStrings(ctrl.find("[name='tmpltRows']").innerHTML, replacer);
+
+ let noMore = (dataList.length >= obj["Paging"]?.totalSize); // 전체 건수
+ let initScroll = (ctrl.query.pageNum < 2);
+
+ if (option != null && option.reloaded) {
+ initScroll = false;
+ }
+
+ // dataTables(그리드)에 자료 표시 td
+ ctrl.find("[name='tableRspns']").changeContent(trs.join(), initScroll, noMore);
+
+ // checkbox 체크 해제
+ $(ctrl.find("[name='gridAllCheckbox']")).prop("checked", false);
+
+ // dataTables(그리드)에 페이지 표시 pagingInfo
+ pageObject[pageName].pagingSupport.setPagingInfo(obj);
+
+ // 보안모드
+ fn_securityModeToggle($("#securityMode--top").is(":checked"));
+ };
+
+ // 현재 선택 자료 변경 이벤트
+ ctrl.onCurrentChange = (item) => {
+ Apply.fromDataset.currentRow(ctrl.dataset, item, ctrl.find("[name='tbodyList']"));
+ };
+
+ /**************************************************************************
+ * 합계 Dataset Events
+ **************************************************************************/
+ // Dataset 변경 이벤트
+ ctrl.dsSumAmt.onDatasetChange = (obj, option) => {
+ // 데이터 셋
+ let dataList = ctrl.dsSumAmt;
+ let empty = dataList.empty;
+
+ let replacer = (str, dataItem) => str
+ .replace(/{onclick}/gi, "pageObject['" + pageName + "'].ctrl.dsSumAmt.setCurrent('{data-index}');")
+
+ let trs = empty ?
+ [ctrl.find("[name='tmpltNotFoundSumAmt']").innerHTML]
+ : dataList.inStrings(ctrl.find("[name='tmpltSumAmtRows']").innerHTML, replacer);
+
+ // dataTables(그리드)에 자료 표시 td
+ ctrl.find("[name='tableRspnsSumAmt']").changeContent(trs.join());
+ };
+
+ // 현재 선택 자료 변경 이벤트
+ ctrl.dsSumAmt.onCurrentChange = (item) => {
+ Apply.fromDataset.currentRow(ctrl.dsSumAmt, item, ctrl.find("[name='tbodySumAmtList']"));
+ };
+
+ return ctrl;
+}