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