DatasetControl 인스턴스 생성방법 수정
parent
66eae53cb0
commit
7e7ffea547
@ -0,0 +1,17 @@
|
||||
function newCvlc01010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
load : "",
|
||||
getInfo : "",
|
||||
remove : ""
|
||||
},
|
||||
formats : {
|
||||
CVLCPT_RCPT_YMD : dateFormat,
|
||||
CVLCPT_PRCS_PRNMNT_DT : datetimeFormat,
|
||||
CRDN_YMD_TM : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
function newCvlc01020Control(page, conf = {}){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter:obj => obj.crdnInfo,
|
||||
keymapper:info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
getInfo : wctx.url("/"+conf.taskSeCd+"/cvlc/cvlc01/020/info.do"),
|
||||
update : wctx.url("/"+conf.taskSeCd+"/cvlc/cvlc01/020/update.do"),
|
||||
create : wctx.url("/"+conf.taskSeCd+"/cvlc/cvlc01/020/create.do"),
|
||||
remove : wctx.url("/"+conf.taskSeCd+"/cvlc/cvlc01/020/remove.do")
|
||||
},
|
||||
formats: {
|
||||
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
function newCvlc01050Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter:obj => obj.cvlcptInfo,
|
||||
keymapper:info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
getInfo : wctx.url("/"+page.taskSeCd+"/cvlc/cvlc01/050/info.do")
|
||||
},
|
||||
formats: {
|
||||
CVLCPT_RCPT_YMD : dateFormat,
|
||||
CVLCPT_PRCS_PRNMNT_DT : dateFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
function newCvlc02010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
load : "",
|
||||
getInfo : "",
|
||||
update : ""
|
||||
},
|
||||
formats : {
|
||||
CVLCPT_RCPT_YMD : dateFormat,
|
||||
CVLCPT_PRCS_PRNMNT_DT : datetimeFormat,
|
||||
CRDN_YMD_TM : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
function newCvlc02060Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter:obj => obj.cvlcptInfo,
|
||||
keymapper:info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
getInfo : wctx.url("/"+page.taskSeCd+"/cvlc/cvlc02/060/info.do"),
|
||||
update : wctx.url("/"+page.taskSeCd+"/cvlc/cvlc02/060/update.do")
|
||||
},
|
||||
formats: {
|
||||
CVLCPT_RCPT_YMD : dateFormat,
|
||||
CVLCPT_PRCS_PRNMNT_DT : dateFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
function newCvlc03010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
load : "",
|
||||
getInfo : "",
|
||||
remove : ""
|
||||
},
|
||||
formats : {
|
||||
CVLCPT_RCPT_YMD : dateFormat,
|
||||
CVLCPT_PRCS_PRNMNT_DT : datetimeFormat,
|
||||
CRDN_YMD_TM : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
function newCvlc04010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.INDIV_ID : "",
|
||||
urls : {
|
||||
load : "",
|
||||
create : "",
|
||||
remove : ""
|
||||
},
|
||||
formats : {
|
||||
DMND_YMD : dateFormat,
|
||||
RCPT_YMD : dateFormat,
|
||||
RSPNS_DT : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
function newCvlc06010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"],
|
||||
keymapper : info => info ? info.LEVY_EXCL_RSN_CD : "",
|
||||
urls : {},
|
||||
formats : {}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
Loading…
Reference in New Issue