js 소스 이동
parent
8d23373a64
commit
4f2e63aefb
@ -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;
|
||||
}
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue