diff --git a/src/main/webapp/resources/js/fims/levy/levy01010.js b/src/main/webapp/resources/js/fims/levy/levy01010.js new file mode 100644 index 00000000..47d28bb1 --- /dev/null +++ b/src/main/webapp/resources/js/fims/levy/levy01010.js @@ -0,0 +1,150 @@ +function newLevy01010Control(pageName, doctx="[data-doctx='levy01010']") { + let ctrl = new DatasetControl({ + doctx: doctx + , prefix: "rdctLevyTrgt" + , prefixName: "감경부과 대상" + , dataGetter: obj => obj["List"] + , keys: ["CRDN_ID"] + , appendData: true + , infoSize: "md" + , urls: { + load: "/list.do" + , getInfo: "/info.do" + } + , formats: { + CRDN_YMD_TM: datetimeFormat + , CVLCPT_RCPT_YMD: dateFormat + , FFNLG_CRDN_AMT: numberFormat + , FFNLG_AMT: numberFormat + , CVLCPT_PRCS_CMPTN_DT: datetimeFormat + , 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']" //