From 4f2e63aefb42bdeffa7c0abbae81759047316a33 Mon Sep 17 00:00:00 2001 From: leebj Date: Mon, 9 Sep 2024 14:06:17 +0900 Subject: [PATCH] =?UTF-8?q?js=20=EC=86=8C=EC=8A=A4=20=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/js/fims/ogdp/ogdp01010.js | 0 src/main/resources/js/fims/ogdp/ogdp02010.js | 16 ++++++++++++++++ src/main/resources/js/fims/ogdp/ogdp02020.js | 13 +++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 src/main/resources/js/fims/ogdp/ogdp01010.js create mode 100644 src/main/resources/js/fims/ogdp/ogdp02010.js create mode 100644 src/main/resources/js/fims/ogdp/ogdp02020.js diff --git a/src/main/resources/js/fims/ogdp/ogdp01010.js b/src/main/resources/js/fims/ogdp/ogdp01010.js new file mode 100644 index 00000000..e69de29b diff --git a/src/main/resources/js/fims/ogdp/ogdp02010.js b/src/main/resources/js/fims/ogdp/ogdp02010.js new file mode 100644 index 00000000..0606aa54 --- /dev/null +++ b/src/main/resources/js/fims/ogdp/ogdp02010.js @@ -0,0 +1,16 @@ +function newOgdp02020Control(page, doctx = ""){ + page.ctrl = new DatasetControl({ + dataGetter : obj => obj["List"], + appendData:true, + keys : ["DEPT_CD"], + urls : { + load : wctx.url("/ogdp/getDeptStngList.do"), + getInfo : wctx.url("/ogdp/getDeptStngInfo.do") + }, + formats: { + REG_DT : datetimeFormat, + MDFCN_DT : datetimeFormat + } + }); + return page.ctrl; +} \ No newline at end of file diff --git a/src/main/resources/js/fims/ogdp/ogdp02020.js b/src/main/resources/js/fims/ogdp/ogdp02020.js new file mode 100644 index 00000000..ab54128e --- /dev/null +++ b/src/main/resources/js/fims/ogdp/ogdp02020.js @@ -0,0 +1,13 @@ +function newOgdp02010Control(page, doctx = ""){ + page.ctrl = new DatasetControl({ + dataGetter : obj => obj["List"], appendData : true, + keymapper : info => info ? info.DEPT_CD : "", + urls : { + update : wctx.url("/ogdp/updateDeptStng.do") + }, + formats: { + + } + }); + return page.ctrl; +} \ No newline at end of file