diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp
index 9ed7c5bf..35b21add 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp
@@ -40,7 +40,6 @@
-
@@ -224,7 +223,17 @@
// DataTables에 스크롤이 맨 밑으로 이동했을 때 이벤트
$P.scrollDataList = () => {
- $P.ctrl.load($P.ctrl.query.pageNum + 1);
+ // 페이지
+ $P.ctrl.query.pageNum += 1;
+
+ ajax.get({
+ url: $P.ctrl.urls.load
+ , headers: { Accept: "application/json; charset=utf-8" } // json
+ , data: $P.ctrl.query
+ , success: (resp) => {
+ $P.ctrl.addData(resp);
+ }
+ });
}
/**************************************************************************
@@ -295,7 +304,7 @@
$P.fnReset = () => {
// 초기화
$P.findn("frmEdit").reset(); // 화면 초기화
- AppSupport.initDatepicker($P.findn("frmSearch")); // 달력 초기화
+ AppSupport.initDatepicker($P.findn("frmEdit")); // 달력 초기화
// 기본 데이터 설정
$P.$findn("sggCd").val("${sggCd}"); // 시군구 코드
@@ -305,6 +314,7 @@
$P.$findn("sndngEndYmd").datepicker("setDate", TODAY()); // 납기 일자
// 업무 구분에 따른 URL 설정
+ $P.ctrl.urls.load = wctx.url("/" + "${taskSeCd}" + $P.prefixUrl + "/020/info.do"); // 조회
$P.ctrl.urls.create = wctx.url("/" + "${taskSeCd}" + $P.prefixUrl + "/020/createList.do"); // 등록
}
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp
index 970652f6..77234aa7 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp
@@ -3,434 +3,337 @@
사전통지 발송 대상 상세 정보
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp
index 20933428..0ddbdd07 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp
@@ -938,10 +938,10 @@
let crdnPayerInfo = $P.ctrlCrdn.getCurrent();
let existVideo = false;
+ // 동영상 캡쳐
if (crdnPayerInfo.VIDEO_EXIST_YN == "Y") {
existVideo = true;
}
-
// 사진 버튼 visible
let showBtn = true;
if (pageObject["${pageNameMain}"].callPurpose == "view") {
diff --git a/src/main/webapp/resources/js/fims/sndb/sndb01060.js b/src/main/webapp/resources/js/fims/sndb/sndb01060.js
new file mode 100644
index 00000000..ed19fc40
--- /dev/null
+++ b/src/main/webapp/resources/js/fims/sndb/sndb01060.js
@@ -0,0 +1,101 @@
+function newSndb01060Control(pageName, doctx="[data-doctx='sndb01060']") {
+ let ctrl = new DatasetControl({
+ doctx: doctx
+ , prefix: "advntceTrgt"
+ , prefixName: "사전통지 발송 대상"
+ , dataGetter: obj => obj["List"]
+ , keys: ["CRDN_ID"]
+ , appendData: true
+ , urls: {
+ load: "/list.do"
+ , create: "/create.do"
+ }
+ , formats: {
+ TNOCS: numberFormat
+ , GRAMT: numberFormat
+ , CVLCPT_RCPT_YMD: dateFormat
+ , CRDN_YMD_TM: datetimeFormat
+ , FFNLG_AMT: numberFormat
+ , ADVNTCE_AMT: numberFormat
+ , REG_DT: datetimeFormat
+ , MDFCN_DT: datetimeFormat
+ }
+ });
+
+ // 검색 조건
+ ctrl.query = { pageNum: 1, fetchSize: DEFAULT_FETCH_SIZE }; // 1 페이지당 자료 건수 index.jsp에서 확인
+ // paging
+ ctrl.pagingSupport = new FimsPagingSupport({
+ ctrl: ctrl // DatasetControl
+ , ignoreCtrlPrefix: true // ctrl.prefix 가 있더라도 무시
+ , linkContainer: "[name='dataPaging']" //