DatasetControl 인스턴스 생성방법 수정
parent
7e7ffea547
commit
4b90fb5f0d
@ -0,0 +1,15 @@
|
||||
function newMngt01010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.NTC_ID : "",
|
||||
urls : {
|
||||
load : wctx.url("/mngt/mngt01/010/list.do"),
|
||||
getInfo : wctx.url("/mngt/mngt01/020/info.do")
|
||||
},
|
||||
formats: {
|
||||
REG_DT : datetimeFormat,
|
||||
MDFCN_DT : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
function newMngt01020Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData : true,
|
||||
keymapper : info => info ? info.NTC_ID : "",
|
||||
urls : {
|
||||
create : wctx.url("/mngt/mngt01/020/create.do"),
|
||||
update : wctx.url("/mngt/mngt01/020/update.do"),
|
||||
remove : wctx.url("/mngt/mngt01/020/remove.do")
|
||||
},
|
||||
formats: {
|
||||
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
function newMngt02020Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData : false,
|
||||
keymapper : info => info ? info.SCHDL_ID : "",
|
||||
urls : {
|
||||
create : wctx.url("/mngt/mngt02/020/create.do"),
|
||||
update : wctx.url("/mngt/mngt02/020/update.do"),
|
||||
remove : wctx.url("/mngt/mngt02/020/remove.do")
|
||||
},
|
||||
formats: {
|
||||
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
function newOgdp02020Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.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