DatasetControl 인스턴스 생성 수정
parent
aacc228c97
commit
452499e718
@ -0,0 +1,11 @@
|
||||
function newCrdn02050Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj.crdnInfo,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
update : wctx.url("/PVS/crdn/crdn02/050/update.do")
|
||||
},
|
||||
formats: {}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
function newCrdn03010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
load : wctx.url("/DPV/crdn/crdn03/030/list.do"),
|
||||
getInfo : wctx.url("/DPV/sprt/sprt02/010/main.do"),
|
||||
update: wctx.url("/DPV/crdn/crdn03/030/update.do")
|
||||
},
|
||||
formats: {
|
||||
CRDN_YMD_TM : datetimeFormat,
|
||||
FFNLG_CRDN_AMT : numberFormat,
|
||||
BLNC : numberFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
function newCrdn05010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
load : ""
|
||||
},
|
||||
formats: {
|
||||
CRDN_YMD_TM : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
function newCrdn05020Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"],
|
||||
keymapper : info => info ? info.FILE_NAME : "",
|
||||
urls : { },
|
||||
formats: {
|
||||
CRDN_YMD : dateFormat,
|
||||
CRDN_TM : timeFormat,
|
||||
CRDN_BGNG_TM : timeFormat,
|
||||
CRDN_END_TM : timeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
function newCrdn05030Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData : true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
create : wctx.url("/${taskSeCd}/crdn/crdn05/030/create.do")
|
||||
},
|
||||
formats: {
|
||||
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
function newCrdn06010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.CRDN_ID : "",
|
||||
urls : {
|
||||
load : "",
|
||||
getInfo : ""
|
||||
},
|
||||
formats: {
|
||||
CRDN_YMD_TM : datetimeFormat,
|
||||
REG_DT : datetimeFormat,
|
||||
MDFCN_DT : datetimeFormat,
|
||||
CVLCPT_PRCS_PRNMNT_DT : dateFormat,
|
||||
CVLCPT_RCPT_YMD : dateFormat,
|
||||
RCVMT_AMT : numberFormat,
|
||||
LEVY_EXCL_YMD : dateFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
function newCrdn06020Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
prefix: "crdn"
|
||||
, prefixName: "단속"
|
||||
, keymapper: info => info ? info.CRDN_ID : ""
|
||||
, dataGetter: obj => obj.crdnInfo
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
function newCrdn06030Control(page, conf={}){
|
||||
page.ctrl = new DatasetControl({
|
||||
prefix: "crdnSttsCd"
|
||||
, prefixName: "단속처리상태"
|
||||
, keymapper: info => info ? info.CRDN_ID : ""
|
||||
, dataGetter: obj => obj[conf.infoPrefix+"Info"]
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
function newCrdn08010Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj["List"], appendData:true,
|
||||
keymapper : info => info ? info.EXMPTN_VHCL_ID : "",
|
||||
urls : {
|
||||
load : wctx.url("/BPV/crdn/crdn08/010/list.do"),
|
||||
remove : wctx.url("/BPV/crdn/crdn08/010/remove.do"),
|
||||
newInfo : wctx.url("/BPV/crdn/crdn08/020/info.do"),
|
||||
getInfo : wctx.url("/BPV/crdn/crdn08/020/info.do")
|
||||
},
|
||||
formats: {
|
||||
EXMPTN_BGNG_YMD : dateFormat,
|
||||
EXMPTN_END_YMD : dateFormat,
|
||||
REG_DT : datetimeFormat,
|
||||
MDFCN_DT : datetimeFormat,
|
||||
DEL_DT : datetimeFormat
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
function newCrdn08020Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj.exmptnVhclInfo,
|
||||
keymapper : info => info ? info.EXMPTN_VHCL_ID : "",
|
||||
urls : {
|
||||
create : wctx.url("/BPV/crdn/crdn08/020/create.do"),
|
||||
update : wctx.url("/BPV/crdn/crdn08/020/update.do")
|
||||
},
|
||||
formats : {
|
||||
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
function newCrdn08030Control(page, doctx = ""){
|
||||
page.ctrl = new DatasetControl({
|
||||
dataGetter : obj => obj, appendData:false,
|
||||
keymapper : info => info ? info.HSTRY_SN : "",
|
||||
urls : { },
|
||||
formats: {
|
||||
EXMPTN_BGNG_YMD : dateFormat,
|
||||
EXMPTN_END_YMD : dateFormat,
|
||||
REG_DT : datetimeFormat,
|
||||
MDFCN_DT : datetimeFormat,
|
||||
DEL_DT : datetimeFormat,
|
||||
DEL_YN : NTR034
|
||||
}
|
||||
});
|
||||
return page.ctrl;
|
||||
}
|
Loading…
Reference in New Issue